drivers/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
cb4dfe562c
commit
807540baae
@@ -250,7 +250,7 @@ static int veth_close(struct net_device *dev)
|
||||
|
||||
static int is_valid_veth_mtu(int new_mtu)
|
||||
{
|
||||
return (new_mtu >= MIN_MTU && new_mtu <= MAX_MTU);
|
||||
return new_mtu >= MIN_MTU && new_mtu <= MAX_MTU;
|
||||
}
|
||||
|
||||
static int veth_change_mtu(struct net_device *dev, int new_mtu)
|
||||
|
Reference in New Issue
Block a user