net: ethernet: remove fs_mii_disconnect and fs_mii_connect declarations
authorGaosheng Cui <cuigaosheng1@huawei.com>
Fri, 9 Sep 2022 06:29:59 +0000 (14:29 +0800)
committerJakub Kicinski <kuba@kernel.org>
Mon, 19 Sep 2022 21:08:14 +0000 (14:08 -0700)
fs_mii_disconnect and fs_mii_connect have been removed since
commit 5b4b8454344a ("[PATCH] FS_ENET: use PAL for mii management"),
so remove them.

Signed-off-by: Gaosheng Cui <cuigaosheng1@huawei.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://lore.kernel.org/r/20220909062959.1144493-1-cuigaosheng1@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c

index 5b760436bb01c9db8a9b2f3967b393d666f12c8a..8844a9a04fcf95ac6b4de9d05f2f2bf0ae7202ee 100644 (file)
@@ -883,9 +883,6 @@ static const struct ethtool_ops fs_ethtool_ops = {
        .set_tunable = fs_set_tunable,
 };
 
-extern int fs_mii_connect(struct net_device *dev);
-extern void fs_mii_disconnect(struct net_device *dev);
-
 /**************************************************************************************/
 
 #ifdef CONFIG_FS_ENET_HAS_FEC