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

Configure Feed

Select the types of activity you want to include in your feed.

net: dsa: microchip: Remove unused declarations

Commit 91a98917a883 ("net: dsa: microchip: move switch chip_id detection to ksz_common")
removed ksz8_switch_detect() but not its declaration.
Commit 6ec23aaaac43 ("net: dsa: microchip: move ksz_dev_ops to ksz_common.c")
declared but never implemented other functions.

Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
Link: https://lore.kernel.org/r/20230821125501.19624-1-yuehaibing@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Yue Haibing and committed by
Jakub Kicinski
73582f09 691b2bf1

-4
-2
drivers/net/dsa/microchip/ksz8.h
··· 48 48 bool ingress, struct netlink_ext_ack *extack); 49 49 void ksz8_port_mirror_del(struct ksz_device *dev, int port, 50 50 struct dsa_mall_mirror_tc_entry *mirror); 51 - int ksz8_get_stp_reg(void); 52 51 void ksz8_get_caps(struct ksz_device *dev, int port, 53 52 struct phylink_config *config); 54 53 void ksz8_config_cpu_port(struct dsa_switch *ds); 55 54 int ksz8_enable_stp_addr(struct ksz_device *dev); 56 55 int ksz8_reset_switch(struct ksz_device *dev); 57 - int ksz8_switch_detect(struct ksz_device *dev); 58 56 int ksz8_switch_init(struct ksz_device *dev); 59 57 void ksz8_switch_exit(struct ksz_device *dev); 60 58 int ksz8_change_mtu(struct ksz_device *dev, int port, int mtu);
-2
drivers/net/dsa/microchip/ksz9477.h
··· 36 36 bool ingress, struct netlink_ext_ack *extack); 37 37 void ksz9477_port_mirror_del(struct ksz_device *dev, int port, 38 38 struct dsa_mall_mirror_tc_entry *mirror); 39 - int ksz9477_get_stp_reg(void); 40 39 void ksz9477_get_caps(struct ksz_device *dev, int port, 41 40 struct phylink_config *config); 42 41 int ksz9477_fdb_dump(struct ksz_device *dev, int port, ··· 53 54 int ksz9477_tc_cbs_set_cinc(struct ksz_device *dev, int port, u32 val); 54 55 int ksz9477_enable_stp_addr(struct ksz_device *dev); 55 56 int ksz9477_reset_switch(struct ksz_device *dev); 56 - int ksz9477_dsa_init(struct ksz_device *dev); 57 57 int ksz9477_switch_init(struct ksz_device *dev); 58 58 void ksz9477_switch_exit(struct ksz_device *dev); 59 59 void ksz9477_port_queue_split(struct ksz_device *dev, int port);