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
@@ -13,12 +13,12 @@ int ipv6_ext_hdr(u8 nexthdr)
|
||||
/*
|
||||
* find out if nexthdr is an extension header or a protocol
|
||||
*/
|
||||
return ( (nexthdr == NEXTHDR_HOP) ||
|
||||
return (nexthdr == NEXTHDR_HOP) ||
|
||||
(nexthdr == NEXTHDR_ROUTING) ||
|
||||
(nexthdr == NEXTHDR_FRAGMENT) ||
|
||||
(nexthdr == NEXTHDR_AUTH) ||
|
||||
(nexthdr == NEXTHDR_NONE) ||
|
||||
(nexthdr == NEXTHDR_DEST) );
|
||||
(nexthdr == NEXTHDR_DEST);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user