aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/cassini.c
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2010-09-23 01:40:09 -0400
committerDavid S. Miller <davem@davemloft.net>2010-09-26 21:34:29 -0400
commit807540baae406c84dcb9c1c8ef07a56d2d2ae84a (patch)
treeccd5c2cb57710dd6b73cf8df11eedf67abc14ae4 /drivers/net/cassini.c
parentcb4dfe562cac6fcb544df752e40c1d78000d0712 (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/cassini.c')
-rw-r--r--drivers/net/cassini.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/cassini.c b/drivers/net/cassini.c
index 32aaadc4734f..d6b6d6aa565a 100644
--- a/drivers/net/cassini.c
+++ b/drivers/net/cassini.c
@@ -419,7 +419,7 @@ static u16 cas_phy_read(struct cas *cp, int reg)
419 udelay(10); 419 udelay(10);
420 cmd = readl(cp->regs + REG_MIF_FRAME); 420 cmd = readl(cp->regs + REG_MIF_FRAME);
421 if (cmd & MIF_FRAME_TURN_AROUND_LSB) 421 if (cmd & MIF_FRAME_TURN_AROUND_LSB)
422 return (cmd & MIF_FRAME_DATA_MASK); 422 return cmd & MIF_FRAME_DATA_MASK;
423 } 423 }
424 return 0xFFFF; /* -1 */ 424 return 0xFFFF; /* -1 */
425} 425}
@@ -804,7 +804,7 @@ static int cas_reset_mii_phy(struct cas *cp)
804 break; 804 break;
805 udelay(10); 805 udelay(10);
806 } 806 }
807 return (limit <= 0); 807 return limit <= 0;
808} 808}
809 809
810static int cas_saturn_firmware_init(struct cas *cp) 810static int cas_saturn_firmware_init(struct cas *cp)