]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
net: dsa: microchip: remove unused phylink_mac_link_up() callback
authorBastien Curutchet (Schneider Electric) <bastien.curutchet@bootlin.com>
Tue, 12 May 2026 13:06:23 +0000 (15:06 +0200)
committerJakub Kicinski <kuba@kernel.org>
Fri, 15 May 2026 01:16:14 +0000 (18:16 -0700)
ksz_dev_ops::phylink_mac_link_up() isn't used anywhere.

Remove it.

Signed-off-by: Bastien Curutchet (Schneider Electric) <bastien.curutchet@bootlin.com>
Link: https://patch.msgid.link/20260512-clean-ksz-2nd-series-v1-1-c00f6ce037fa@bootlin.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/dsa/microchip/ksz_common.h

index 3dde7e771727260b4680782269a9d8acee1e6073..0ab3b4f96595aead617f4196fce6b99d15e7444a 100644 (file)
@@ -444,11 +444,6 @@ struct ksz_dev_ops {
                           u8 data);
        void (*freeze_mib)(struct ksz_device *dev, int port, bool freeze);
        void (*port_init_cnt)(struct ksz_device *dev, int port);
-       void (*phylink_mac_link_up)(struct ksz_device *dev, int port,
-                                   unsigned int mode,
-                                   phy_interface_t interface,
-                                   struct phy_device *phydev, int speed,
-                                   int duplex, bool tx_pause, bool rx_pause);
        void (*setup_rgmii_delay)(struct ksz_device *dev, int port);
        int (*tc_cbs_set_cinc)(struct ksz_device *dev, int port, u32 val);
        void (*config_cpu_port)(struct dsa_switch *ds);