mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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:
parent
cb4dfe562c
commit
807540baae
106 changed files with 762 additions and 764 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue