kernel: remove an unused callback from the ip17xx switch driver
[openwrt/staging/dedeckeh.git] / target / linux / generic / files / drivers / net / phy / ip17xx.c
index 88bdc29cb7eee7ea17b35855c36df9e3a154a8c7..c369803395780362aecfd69f93f8dff9198594d0 100644 (file)
@@ -1337,12 +1337,6 @@ static int ip17xx_aneg_done(struct phy_device *pdev)
        return 1;       /* Return any positive value */
 }
 
-static int ip17xx_update_link(struct phy_device *pdev)
-{
-       pdev->link = 1;
-       return 0;
-}
-
 static int ip17xx_read_status(struct phy_device *pdev)
 {
        pdev->speed = SPEED_100;
@@ -1364,7 +1358,6 @@ static struct phy_driver ip17xx_driver[] = {
                .config_init    = ip17xx_config_init,
                .config_aneg    = ip17xx_config_aneg,
                .aneg_done      = ip17xx_aneg_done,
-               .update_link    = ip17xx_update_link,
                .read_status    = ip17xx_read_status,
        }
 };