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
@@ -463,7 +463,7 @@ static int __init do_elmc_probe(struct net_device *dev)
|
||||
|
||||
/* we didn't find any 3c523 in the slots we checked for */
|
||||
if (slot == MCA_NOTFOUND)
|
||||
return ((base_addr || irq) ? -ENXIO : -ENODEV);
|
||||
return (base_addr || irq) ? -ENXIO : -ENODEV;
|
||||
|
||||
mca_set_adapter_name(slot, "3Com 3c523 Etherlink/MC");
|
||||
mca_set_adapter_procfn(slot, (MCA_ProcFn) elmc_getinfo, dev);
|
||||
|
Reference in New Issue
Block a user