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
@@ -595,7 +595,7 @@ struct ring_descr {
|
||||
|
||||
static inline int rd_is_active(struct ring_descr *rd)
|
||||
{
|
||||
return ((rd->hw->rd_status & RD_ACTIVE) != 0);
|
||||
return (rd->hw->rd_status & RD_ACTIVE) != 0;
|
||||
}
|
||||
|
||||
static inline void rd_activate(struct ring_descr *rd)
|
||||
|
Reference in New Issue
Block a user