summaryrefslogtreecommitdiffstats
path: root/drivers/net/chelsio/mv88e1xxx.c
diff options
context:
space:
mode:
authorFrancois Romieu <romieu@fr.zoreil.com>2006-12-11 23:49:13 +0100
committerJeff Garzik <jeff@garzik.org>2007-02-05 16:58:43 -0500
commitd7487421b629c5ca71ce23b10461ef0c3ad2c741 (patch)
tree74266cf994c43ff84b7c3bd713213485d0f998aa /drivers/net/chelsio/mv88e1xxx.c
parent356bd1460d1e1c4e433e4114fdac02139bddf17c (diff)
downloadblackbird-op-linux-d7487421b629c5ca71ce23b10461ef0c3ad2c741.tar.gz
blackbird-op-linux-d7487421b629c5ca71ce23b10461ef0c3ad2c741.zip
chelsio: useless curly braces
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Diffstat (limited to 'drivers/net/chelsio/mv88e1xxx.c')
-rw-r--r--drivers/net/chelsio/mv88e1xxx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/chelsio/mv88e1xxx.c b/drivers/net/chelsio/mv88e1xxx.c
index c7c5854715be..5867e3b0a887 100644
--- a/drivers/net/chelsio/mv88e1xxx.c
+++ b/drivers/net/chelsio/mv88e1xxx.c
@@ -312,9 +312,9 @@ static int mv88e1xxx_interrupt_handler(struct cphy *cphy)
(void) simple_mdio_read(cphy,
MV88E1XXX_SPECIFIC_STATUS_REGISTER, &status);
- if (status & MV88E1XXX_INTR_LINK_CHNG) {
+ if (status & MV88E1XXX_INTR_LINK_CHNG)
cphy->state |= PHY_LINK_UP;
- } else {
+ else {
cphy->state &= ~PHY_LINK_UP;
if (cphy->state & PHY_AUTONEG_EN)
cphy->state &= ~PHY_AUTONEG_RDY;
OpenPOWER on IntegriCloud