OSDN Git Service

net: stmmac: drop the phy_reset hook from struct stmmac_mdio_bus_data
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Sat, 15 Jun 2019 10:09:32 +0000 (12:09 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 16 Jun 2019 20:53:41 +0000 (13:53 -0700)
commitfead5b1b5838ba2f231d76e1b8ed31a4e9449382
tree80727e05f98877465b92a228f1f9b2801e096c70
parentce4ab73ab0c27c6a3853695aa8ec0f453c6329cd
net: stmmac: drop the phy_reset hook from struct stmmac_mdio_bus_data

The phy_reset hook is not set anywhere. Drop it to make
stmmac_mdio_reset() smaller.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c
include/linux/stmmac.h