net: phy: drop explicit genphy_read_status() op
Subsystems (3)
PATCH 1/1 net: phy: drop explicit genphy_read_status() op
genphy_read_status() is already the default for the .read_status() op. Drop the unnecessary references.
Signed-off-by Michael Walle <[email protected]>
--- drivers/net/phy/marvell.c | 1 - drivers/net/phy/micrel.c | 1 - 2 files changed, 2 deletions(-)
drivers/net/phy/marvell.c +0 -1
@@ -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,
drivers/net/phy/micrel.c +0 -1
@@ -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,
Signature · 1 line
2.20.1
Quoted 4 lines · Michael Walle
genphy_read_status()is already the default for the .read_status() op. Drop the unnecessary references.Signed-off-by Michael Walle <[email protected]>
Reviewed-by Andrew Lunn <[email protected]>
Andrew
This patch was applied to netdev/net-next.git (refs/heads/master):
Hello:
This patch was applied to netdev/net-next.git (refs/heads/master):
Quoted 8 lines · On Tue, 9 Feb 2021 02:00:18 +0100 you wrote:
genphy_read_status()is already the default for the .read_status() op. Drop the unnecessary references.Signed-off-by Michael Walle <[email protected]>--- drivers/net/phy/marvell.c | 1 - drivers/net/phy/micrel.c | 1 - 2 files changed, 2 deletions(-)
Here is the summary with links:
- [net-next] net: phy: drop explicit genphy_read_status() op
https://git.kernel.org/netdev/net-next/c/f15008fbaa33
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html