From: Russell King (Oracle) Date: Mon, 6 Jan 2025 11:59:24 +0000 (+0000) Subject: net: dsa: remove get_mac_eee() method X-Git-Tag: v6.14-rc1~162^2~123^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2fa8b4383d24c1c788528ed4377d9f07c6c10227;p=thirdparty%2Fkernel%2Flinux.git net: dsa: remove get_mac_eee() method 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) Link: https://patch.msgid.link/E1tUllU-007UzL-KV@rmk-PC.armlinux.org.uk Signed-off-by: Jakub Kicinski --- diff --git a/include/net/dsa.h b/include/net/dsa.h index 4aeedb296d67e..9640d5c67f564 100644 --- a/include/net/dsa.h +++ b/include/net/dsa.h @@ -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);