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
@@ -436,7 +436,7 @@ static int lance_open( struct net_device *dev )
|
||||
DPRINTK( 2, ( "lance_open(): opening %s failed, i=%d, csr0=%04x\n",
|
||||
dev->name, i, DREG ));
|
||||
DREG = CSR0_STOP;
|
||||
return( -EIO );
|
||||
return -EIO;
|
||||
}
|
||||
|
||||
DREG = CSR0_IDON | CSR0_STRT | CSR0_INEA;
|
||||
@@ -445,7 +445,7 @@ static int lance_open( struct net_device *dev )
|
||||
|
||||
DPRINTK( 2, ( "%s: LANCE is open, csr0 %04x\n", dev->name, DREG ));
|
||||
|
||||
return( 0 );
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user