diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2010-09-23 01:40:09 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-09-26 21:34:29 -0400 |
commit | 807540baae406c84dcb9c1c8ef07a56d2d2ae84a (patch) | |
tree | ccd5c2cb57710dd6b73cf8df11eedf67abc14ae4 /drivers/net/pcmcia | |
parent | cb4dfe562cac6fcb544df752e40c1d78000d0712 (diff) |
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>
Diffstat (limited to 'drivers/net/pcmcia')
-rw-r--r-- | drivers/net/pcmcia/nmclan_cs.c | 2 | ||||
-rw-r--r-- | drivers/net/pcmcia/smc91c92_cs.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/pcmcia/nmclan_cs.c b/drivers/net/pcmcia/nmclan_cs.c index 89cf63bb8c91..c1d8ce9e4a6c 100644 --- a/drivers/net/pcmcia/nmclan_cs.c +++ b/drivers/net/pcmcia/nmclan_cs.c | |||
@@ -521,7 +521,7 @@ static int mace_read(mace_private *lp, unsigned int ioaddr, int reg) | |||
521 | spin_unlock_irqrestore(&lp->bank_lock, flags); | 521 | spin_unlock_irqrestore(&lp->bank_lock, flags); |
522 | break; | 522 | break; |
523 | } | 523 | } |
524 | return (data & 0xFF); | 524 | return data & 0xFF; |
525 | } /* mace_read */ | 525 | } /* mace_read */ |
526 | 526 | ||
527 | /* ---------------------------------------------------------------------------- | 527 | /* ---------------------------------------------------------------------------- |
diff --git a/drivers/net/pcmcia/smc91c92_cs.c b/drivers/net/pcmcia/smc91c92_cs.c index 3d1c549b7038..7204a4b5529b 100644 --- a/drivers/net/pcmcia/smc91c92_cs.c +++ b/drivers/net/pcmcia/smc91c92_cs.c | |||
@@ -815,7 +815,7 @@ static int check_sig(struct pcmcia_device *link) | |||
815 | ((s >> 8) != (s & 0xff))) { | 815 | ((s >> 8) != (s & 0xff))) { |
816 | SMC_SELECT_BANK(3); | 816 | SMC_SELECT_BANK(3); |
817 | s = inw(ioaddr + REVISION); | 817 | s = inw(ioaddr + REVISION); |
818 | return (s & 0xff); | 818 | return s & 0xff; |
819 | } | 819 | } |
820 | 820 | ||
821 | if (width) { | 821 | if (width) { |