projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d19be79
)
net: dsa: remove get_mac_eee() method
author
Russell King (Oracle)
<rmk+kernel@armlinux.org.uk>
Mon, 6 Jan 2025 11:59:24 +0000
(11:59 +0000)
committer
Jakub 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
patch
|
blob
|
history
diff --git
a/include/net/dsa.h
b/include/net/dsa.h
index
4aeedb2
..
9640d5c
100644
(file)
--- 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);