diff options
| author | Russell King (Oracle) <[email protected]> | 2025-01-06 11:59:04 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-01-08 02:06:17 +0000 |
| commit | e2d1b8090b69af793178713f1851706394739410 (patch) | |
| tree | 0c712b63c66c0202d59b5d0a4db8e804a6f7c4a9 /drivers/net/dsa/microchip/ksz_common.c | |
| parent | net: dsa: b53/bcm_sf2: remove b53_get_mac_eee() (diff) | |
| download | kernel-e2d1b8090b69af793178713f1851706394739410.tar.gz kernel-e2d1b8090b69af793178713f1851706394739410.zip | |
net: dsa: ksz: remove ksz_get_mac_eee()
ksz_get_mac_eee() is no longer called by the core DSA code. Remove it.
Signed-off-by: Russell King (Oracle) <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/net/dsa/microchip/ksz_common.c')
| -rw-r--r-- | drivers/net/dsa/microchip/ksz_common.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/net/dsa/microchip/ksz_common.c b/drivers/net/dsa/microchip/ksz_common.c index 60a4630dd7ba..89f0796894af 100644 --- a/drivers/net/dsa/microchip/ksz_common.c +++ b/drivers/net/dsa/microchip/ksz_common.c @@ -3489,12 +3489,6 @@ static bool ksz_support_eee(struct dsa_switch *ds, int port) return false; } -static int ksz_get_mac_eee(struct dsa_switch *ds, int port, - struct ethtool_keee *e) -{ - return 0; -} - static int ksz_set_mac_eee(struct dsa_switch *ds, int port, struct ethtool_keee *e) { @@ -4664,7 +4658,6 @@ static const struct dsa_switch_ops ksz_switch_ops = { .cls_flower_del = ksz_cls_flower_del, .port_setup_tc = ksz_setup_tc, .support_eee = ksz_support_eee, - .get_mac_eee = ksz_get_mac_eee, .set_mac_eee = ksz_set_mac_eee, .port_get_default_prio = ksz_port_get_default_prio, .port_set_default_prio = ksz_port_set_default_prio, |
