diff options
-rw-r--r-- | drivers/net/phy/bcm63xx.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/net/phy/bcm63xx.c b/drivers/net/phy/bcm63xx.c index e16f98cb4f04..cd802eb25fd2 100644 --- a/drivers/net/phy/bcm63xx.c +++ b/drivers/net/phy/bcm63xx.c | |||
@@ -39,10 +39,7 @@ static int bcm63xx_config_init(struct phy_device *phydev) | |||
39 | MII_BCM63XX_IR_SPEED | | 39 | MII_BCM63XX_IR_SPEED | |
40 | MII_BCM63XX_IR_LINK) | | 40 | MII_BCM63XX_IR_LINK) | |
41 | MII_BCM63XX_IR_EN; | 41 | MII_BCM63XX_IR_EN; |
42 | err = phy_write(phydev, MII_BCM63XX_IR, reg); | 42 | return phy_write(phydev, MII_BCM63XX_IR, reg); |
43 | if (err < 0) | ||
44 | return err; | ||
45 | return 0; | ||
46 | } | 43 | } |
47 | 44 | ||
48 | static int bcm63xx_ack_interrupt(struct phy_device *phydev) | 45 | static int bcm63xx_ack_interrupt(struct phy_device *phydev) |