net: dsa: remove get_mac_eee() method
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Mon, 6 Jan 2025 11:59:24 +0000 (11:59 +0000)
committerJakub Kicinski <kuba@kernel.org>
Wed, 8 Jan 2025 02:06:18 +0000 (18:06 -0800)
The get_mac_eee() is no longer called by the core DSA code, nor are
there any implementations of this method. Remove it.

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://patch.msgid.link/E1tUllU-007UzL-KV@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/net/dsa.h

index 4aeedb2..9640d5c 100644 (file)
@@ -991,8 +991,6 @@ struct dsa_switch_ops {
        bool    (*support_eee)(struct dsa_switch *ds, int port);
        int     (*set_mac_eee)(struct dsa_switch *ds, int port,
                               struct ethtool_keee *e);
-       int     (*get_mac_eee)(struct dsa_switch *ds, int port,
-                              struct ethtool_keee *e);
 
        /* EEPROM access */
        int     (*get_eeprom_len)(struct dsa_switch *ds);