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
@@ -379,14 +379,14 @@ static int __init n2_run(unsigned long io, unsigned long irq,
|
||||
if (request_irq(irq, sca_intr, 0, devname, card)) {
|
||||
printk(KERN_ERR "n2: could not allocate IRQ\n");
|
||||
n2_destroy_card(card);
|
||||
return(-EBUSY);
|
||||
return -EBUSY;
|
||||
}
|
||||
card->irq = irq;
|
||||
|
||||
if (!request_mem_region(winbase, USE_WINDOWSIZE, devname)) {
|
||||
printk(KERN_ERR "n2: could not request RAM window\n");
|
||||
n2_destroy_card(card);
|
||||
return(-EBUSY);
|
||||
return -EBUSY;
|
||||
}
|
||||
card->phy_winbase = winbase;
|
||||
card->winbase = ioremap(winbase, USE_WINDOWSIZE);
|
||||
|
Reference in New Issue
Block a user