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
@@ -826,7 +826,7 @@ static bool ixgbe_clean_tx_irq(struct ixgbe_q_vector *q_vector,
|
||||
tx_ring->total_packets += total_packets;
|
||||
tx_ring->stats.packets += total_packets;
|
||||
tx_ring->stats.bytes += total_bytes;
|
||||
return (count < tx_ring->work_limit);
|
||||
return count < tx_ring->work_limit;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_IXGBE_DCA
|
||||
|
||||
Reference in New Issue
Block a user