diff options
author | Joe Perches <joe@perches.com> | 2010-11-14 12:04:31 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-11-15 14:06:18 -0500 |
commit | 6f38ad93e4882e84c1cc113736db7dc9252dcf11 (patch) | |
tree | f95d34a8831d8e5b1613bedf852bcd839f74d233 | |
parent | ad65ffd12dccf6d1031298eacc060327751084da (diff) |
drivers/net/bnx2x: Remove unnecessary semicolons
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/bnx2x/bnx2x_link.c | 4 | ||||
-rw-r--r-- | drivers/net/bnx2x/bnx2x_main.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/bnx2x/bnx2x_link.c b/drivers/net/bnx2x/bnx2x_link.c index 580919619252..38aeffef2a83 100644 --- a/drivers/net/bnx2x/bnx2x_link.c +++ b/drivers/net/bnx2x/bnx2x_link.c | |||
@@ -3904,7 +3904,7 @@ static u8 bnx2x_8726_read_sfp_module_eeprom(struct bnx2x_phy *phy, | |||
3904 | MDIO_PMA_REG_SFP_TWO_WIRE_CTRL, &val); | 3904 | MDIO_PMA_REG_SFP_TWO_WIRE_CTRL, &val); |
3905 | if ((val & MDIO_PMA_REG_SFP_TWO_WIRE_CTRL_STATUS_MASK) == | 3905 | if ((val & MDIO_PMA_REG_SFP_TWO_WIRE_CTRL_STATUS_MASK) == |
3906 | MDIO_PMA_REG_SFP_TWO_WIRE_STATUS_IDLE) | 3906 | MDIO_PMA_REG_SFP_TWO_WIRE_STATUS_IDLE) |
3907 | return 0;; | 3907 | return 0; |
3908 | msleep(1); | 3908 | msleep(1); |
3909 | } | 3909 | } |
3910 | return -EINVAL; | 3910 | return -EINVAL; |
@@ -3988,7 +3988,7 @@ static u8 bnx2x_8727_read_sfp_module_eeprom(struct bnx2x_phy *phy, | |||
3988 | MDIO_PMA_REG_SFP_TWO_WIRE_CTRL, &val); | 3988 | MDIO_PMA_REG_SFP_TWO_WIRE_CTRL, &val); |
3989 | if ((val & MDIO_PMA_REG_SFP_TWO_WIRE_CTRL_STATUS_MASK) == | 3989 | if ((val & MDIO_PMA_REG_SFP_TWO_WIRE_CTRL_STATUS_MASK) == |
3990 | MDIO_PMA_REG_SFP_TWO_WIRE_STATUS_IDLE) | 3990 | MDIO_PMA_REG_SFP_TWO_WIRE_STATUS_IDLE) |
3991 | return 0;; | 3991 | return 0; |
3992 | msleep(1); | 3992 | msleep(1); |
3993 | } | 3993 | } |
3994 | 3994 | ||
diff --git a/drivers/net/bnx2x/bnx2x_main.c b/drivers/net/bnx2x/bnx2x_main.c index e9ad16f00b56..7ffcb086cb6f 100644 --- a/drivers/net/bnx2x/bnx2x_main.c +++ b/drivers/net/bnx2x/bnx2x_main.c | |||
@@ -8078,7 +8078,7 @@ static void __devinit bnx2x_get_port_hwinfo(struct bnx2x *bp) | |||
8078 | int port = BP_PORT(bp); | 8078 | int port = BP_PORT(bp); |
8079 | u32 val, val2; | 8079 | u32 val, val2; |
8080 | u32 config; | 8080 | u32 config; |
8081 | u32 ext_phy_type, ext_phy_config;; | 8081 | u32 ext_phy_type, ext_phy_config; |
8082 | 8082 | ||
8083 | bp->link_params.bp = bp; | 8083 | bp->link_params.bp = bp; |
8084 | bp->link_params.port = port; | 8084 | bp->link_params.port = port; |