net: phy: drop explicit genphy_read_status() op
authorMichael Walle <michael@walle.cc>
Tue, 9 Feb 2021 01:00:18 +0000 (02:00 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Feb 2021 19:10:25 +0000 (11:10 -0800)
genphy_read_status() is already the default for the .read_status() op.
Drop the unnecessary references.

Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/marvell.c
drivers/net/phy/micrel.c

index 620052c..b523aa3 100644 (file)
@@ -2852,7 +2852,6 @@ static struct phy_driver marvell_drivers[] = {
                .probe = marvell_probe,
                .config_init = m88e1145_config_init,
                .config_aneg = m88e1101_config_aneg,
-               .read_status = genphy_read_status,
                .config_intr = marvell_config_intr,
                .handle_interrupt = marvell_handle_interrupt,
                .resume = genphy_resume,
index 39c7c78..494abf6 100644 (file)
@@ -1368,7 +1368,6 @@ static struct phy_driver ksphy_driver[] = {
        .driver_data    = &ksz9021_type,
        .probe          = kszphy_probe,
        .config_init    = ksz9131_config_init,
-       .read_status    = genphy_read_status,
        .config_intr    = kszphy_config_intr,
        .handle_interrupt = kszphy_handle_interrupt,
        .get_sset_count = kszphy_get_sset_count,