From: Heiner Kallweit Date: Sat, 11 May 2019 05:44:48 +0000 (+0200) Subject: net: phy: realtek: fix double page ops in generic Realtek driver X-Git-Tag: v5.15~6378^2~13 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8f779443b440f975f0eea80a68e9adccc15050c0;p=platform%2Fkernel%2Flinux-starfive.git 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 Signed-off-by: David S. Miller --- diff --git a/drivers/net/phy/realtek.c b/drivers/net/phy/realtek.c index 29ce073..4988ccea 100644 --- a/drivers/net/phy/realtek.c +++ b/drivers/net/phy/realtek.c @@ -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",