diff options
author | Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> | 2014-01-05 04:27:17 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-01-05 04:27:58 +0400 |
commit | 29935aebc7a8f2d3f9cc1743f24f0db8b4610ece (patch) | |
tree | e42888d112b50d10849fbfdfb91434c165d1d322 /drivers/net/phy/phy_device.c | |
parent | 77051ed829bc1e8b4a99a4a27520faa5bab0976a (diff) | |
download | linux-29935aebc7a8f2d3f9cc1743f24f0db8b4610ece.tar.xz |
phylib: remove unused adjust_state() callback
Remove adjust_state() callback from 'struct phy_device' since it seems to have
never been really used from the inception: phy_start_machine() has been always
called with 2nd argument equal to NULL.
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/phy_device.c')
-rw-r--r-- | drivers/net/phy/phy_device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/phy/phy_device.c b/drivers/net/phy/phy_device.c index 1f1f8d77aa6a..09aa9e564296 100644 --- a/drivers/net/phy/phy_device.c +++ b/drivers/net/phy/phy_device.c @@ -422,7 +422,7 @@ int phy_connect_direct(struct net_device *dev, struct phy_device *phydev, return rc; phy_prepare_link(phydev, handler); - phy_start_machine(phydev, NULL); + phy_start_machine(phydev); if (phydev->irq > 0) phy_start_interrupts(phydev); |