aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2025-01-06 11:59:24 +0000
committerJakub Kicinski <kuba@kernel.org>2025-01-07 18:06:18 -0800
commit2fa8b4383d24c1c788528ed4377d9f07c6c10227 (patch)
tree66836de78b521c4e85802e64b85bc5da1e8d5121
parentnet: dsa: qca: remove qca8k_get_mac_eee() (diff)
downloadwireguard-linux-2fa8b4383d24c1c788528ed4377d9f07c6c10227.tar.xz
wireguard-linux-2fa8b4383d24c1c788528ed4377d9f07c6c10227.zip
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) <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>
-rw-r--r--include/net/dsa.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/net/dsa.h b/include/net/dsa.h
index 4aeedb296d67..9640d5c67f56 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);