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
@@ -80,7 +80,7 @@ static void tcp_westwood_init(struct sock *sk)
|
||||
*/
|
||||
static inline u32 westwood_do_filter(u32 a, u32 b)
|
||||
{
|
||||
return (((7 * a) + b) >> 3);
|
||||
return ((7 * a) + b) >> 3;
|
||||
}
|
||||
|
||||
static void westwood_filter(struct westwood *w, u32 delta)
|
||||
|
Reference in New Issue
Block a user