Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

net: dsa: qca: remove qca8k_get_mac_eee()

qca8k_get_mac_eee() is no longer called by the core DSA code. Remove it.

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://patch.msgid.link/E1tUllP-007UzF-Gk@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Russell King (Oracle) and committed by
Jakub Kicinski
d19be79a d3889a3d

-9
-1
drivers/net/dsa/qca/qca8k-8xxx.c
··· 2017 2017 .get_sset_count = qca8k_get_sset_count, 2018 2018 .set_ageing_time = qca8k_set_ageing_time, 2019 2019 .support_eee = dsa_supports_eee, 2020 - .get_mac_eee = qca8k_get_mac_eee, 2021 2020 .set_mac_eee = qca8k_set_mac_eee, 2022 2021 .port_enable = qca8k_port_enable, 2023 2022 .port_disable = qca8k_port_disable,
-7
drivers/net/dsa/qca/qca8k-common.c
··· 557 557 return ret; 558 558 } 559 559 560 - int qca8k_get_mac_eee(struct dsa_switch *ds, int port, 561 - struct ethtool_keee *e) 562 - { 563 - /* Nothing to do on the port's MAC */ 564 - return 0; 565 - } 566 - 567 560 static int qca8k_port_configure_learning(struct dsa_switch *ds, int port, 568 561 bool learning) 569 562 {
-1
drivers/net/dsa/qca/qca8k.h
··· 520 520 521 521 /* Common eee function */ 522 522 int qca8k_set_mac_eee(struct dsa_switch *ds, int port, struct ethtool_keee *eee); 523 - int qca8k_get_mac_eee(struct dsa_switch *ds, int port, struct ethtool_keee *e); 524 523 525 524 /* Common bridge function */ 526 525 void qca8k_port_stp_state_set(struct dsa_switch *ds, int port, u8 state);