You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
net: return operator cleanup
Change "return (EXPR);" to "return EXPR;" return is not a function, parentheses are not required. Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
6a08d194ee
commit
a02cec2155
+2
-2
@@ -565,12 +565,12 @@ pfkey_proto2satype(uint16_t proto)
|
||||
|
||||
static uint8_t pfkey_proto_to_xfrm(uint8_t proto)
|
||||
{
|
||||
return (proto == IPSEC_PROTO_ANY ? 0 : proto);
|
||||
return proto == IPSEC_PROTO_ANY ? 0 : proto;
|
||||
}
|
||||
|
||||
static uint8_t pfkey_proto_from_xfrm(uint8_t proto)
|
||||
{
|
||||
return (proto ? proto : IPSEC_PROTO_ANY);
|
||||
return proto ? proto : IPSEC_PROTO_ANY;
|
||||
}
|
||||
|
||||
static inline int pfkey_sockaddr_len(sa_family_t family)
|
||||
|
||||
Reference in New Issue
Block a user