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
@@ -985,7 +985,7 @@ static inline int efx_rx_queue_index(struct efx_rx_queue *rx_queue)
|
||||
static inline struct efx_rx_buffer *efx_rx_buffer(struct efx_rx_queue *rx_queue,
|
||||
unsigned int index)
|
||||
{
|
||||
return (&rx_queue->buffer[index]);
|
||||
return &rx_queue->buffer[index];
|
||||
}
|
||||
|
||||
/* Set bit in a little-endian bitfield */
|
||||
|
Reference in New Issue
Block a user