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
@@ -461,7 +461,7 @@ static int meth_tx_full(struct net_device *dev)
|
||||
{
|
||||
struct meth_private *priv = netdev_priv(dev);
|
||||
|
||||
return (priv->tx_count >= TX_RING_ENTRIES - 1);
|
||||
return priv->tx_count >= TX_RING_ENTRIES - 1;
|
||||
}
|
||||
|
||||
static void meth_tx_cleanup(struct net_device* dev, unsigned long int_status)
|
||||
|
Reference in New Issue
Block a user