SDK kernel commit fa2a75765bfb("drivers: net: phy: Multiple fixes
for stability") is used to improve the aqr113c phy driver. But introduce
some redundant code, so remove them to avoid building issue and
booting error.

Signed-off-by: Meng Li <[email protected]>
---
 drivers/net/phy/aquantia_main.c | 23 -----------------------
 1 file changed, 23 deletions(-)

diff --git a/drivers/net/phy/aquantia_main.c b/drivers/net/phy/aquantia_main.c
index 944da491eca0..9b8df5892fbd 100644
--- a/drivers/net/phy/aquantia_main.c
+++ b/drivers/net/phy/aquantia_main.c
@@ -196,10 +196,6 @@
 #define VEND1_GLOBAL_SYS_CONFIG_SGMII          (BIT(0) | BIT(1) | BIT(3))
 #define VEND1_GLOBAL_SYS_CONFIG_XFI            BIT(8)
 
-#define VEND1_GLOBAL_CFG_2_5G                  0x031D
-#define VEND1_GLOBAL_CFG_5G                    0x031E
-#define VEND1_GLOBAL_CFG_10G                   0x031F
-
 #define BIT_SHIFT_8 8
 #define MAC_ADDRESS_BYTE_0 0
 #define MAC_ADDRESS_BYTE_1 1
@@ -1294,25 +1290,6 @@ static struct phy_driver aqr_driver[] = {
        .get_stats      = aqr107_get_stats,
        .link_change_notify = aqr107_link_change_notify,
 },
-{
-       PHY_ID_MATCH_MODEL(PHY_ID_AQR113C),
-       .name           = "Aquantia AQR113C",
-       .probe          = aqr107_probe,
-       .get_rate_matching = aqr107_get_rate_matching,
-       .config_init    = aqr107_config_init,
-       .config_aneg    = aqr_config_aneg,
-       .config_intr    = aqr_config_intr,
-       .handle_interrupt       = aqr_handle_interrupt,
-       .read_status    = aqr107_read_status,
-       .get_tunable    = aqr107_get_tunable,
-       .set_tunable    = aqr107_set_tunable,
-       .suspend        = aqr107_suspend,
-       .resume         = aqr107_resume,
-       .get_sset_count = aqr107_get_sset_count,
-       .get_strings    = aqr107_get_strings,
-       .get_stats      = aqr107_get_stats,
-       .link_change_notify = aqr107_link_change_notify,
-},
 };
 
 module_phy_driver(aqr_driver);
-- 
2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#15973): 
https://lists.yoctoproject.org/g/linux-yocto/message/15973
Mute This Topic: https://lists.yoctoproject.org/mt/116271233/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to