net: phy: realtek: fix double page ops in generic Realtek driver
Subsystems (3)
Heiner Kallweit
maintainerPATCH 1/1 net: phy: realtek: fix double page ops in generic Realtek driver
When adding missing callbacks I missed that one had them set already. Interesting that the compiler didn't complain.
Fixes daf3ddbe11a2 ("net: phy: realtek: add missing page operations")
Signed-off-by Heiner Kallweit <[email protected]>
--- drivers/net/phy/realtek.c | 2 -- 1 file changed, 2 deletions(-)
drivers/net/phy/realtek.c +0 -2
@@ -332,8 +332,6 @@ static struct phy_driver realtek_drvs[] = { .resume = genphy_resume, .read_page = rtl821x_read_page, .write_page = rtl821x_write_page, - .read_page = rtl821x_read_page, - .write_page = rtl821x_write_page, }, { PHY_ID_MATCH_EXACT(0x001cc961), .name = "RTL8366RB Gigabit Ethernet",
Signature · 1 line
2.21.0
From: Heiner Kallweit <[email protected]>
Date: Sat, 11 May 2019 07:44:48 +0200
Quoted 5 lines
When adding missing callbacks I missed that one had them set already. Interesting that the compiler didn't complain.
Fixes daf3ddbe11a2 ("net: phy: realtek: add missing page operations")Signed-off-by Heiner Kallweit <[email protected]>
Applied.