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
@@ -2497,7 +2497,7 @@ static u32 hme_get_link(struct net_device *dev)
|
||||
hp->sw_bmcr = happy_meal_tcvr_read(hp, hp->tcvregs, MII_BMCR);
|
||||
spin_unlock_irq(&hp->happy_lock);
|
||||
|
||||
return (hp->sw_bmsr & BMSR_LSTATUS);
|
||||
return hp->sw_bmsr & BMSR_LSTATUS;
|
||||
}
|
||||
|
||||
static const struct ethtool_ops hme_ethtool_ops = {
|
||||
|
Reference in New Issue
Block a user