diff options
| author | Maxime Chevallier <[email protected]> | 2024-09-04 17:18:18 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2024-09-09 09:29:04 +0000 |
| commit | 6b576b2d44303cad06273ea2e2d5fc08907ff845 (patch) | |
| tree | 9490e85bebdf64b4cbf2f7ba78979ec5bb7cd2f5 /drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c | |
| parent | net: ethernet: fs_enet: only protect the .restart() call in .adjust_link (diff) | |
| download | kernel-6b576b2d44303cad06273ea2e2d5fc08907ff845.tar.gz kernel-6b576b2d44303cad06273ea2e2d5fc08907ff845.zip | |
net: ethernet: fs_enet: drop unused phy_info and mii_if_info
There's no user of the struct phy_info, the 'phy' field and the
mii_if_info in the fs_enet driver, probably dating back when phylib
wasn't as widely used. Drop these from the driver code.
As the definition for struct mii_if_info is no longer required, drop the
include for linux/mii.h altogether in the driver.
Acked-by: Christophe Leroy <[email protected]>
Reviewed-by: Christophe Leroy <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Signed-off-by: Maxime Chevallier <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c')
| -rw-r--r-- | drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c b/drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c index b320e55dcb81..c96a6b9e1445 100644 --- a/drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c +++ b/drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c @@ -26,7 +26,6 @@ #include <linux/etherdevice.h> #include <linux/skbuff.h> #include <linux/spinlock.h> -#include <linux/mii.h> #include <linux/ethtool.h> #include <linux/bitops.h> #include <linux/fs.h> |
