net: Remove duplicated include in mac.c
authorYang Li <yang.lee@linux.alibaba.com>
Tue, 1 Aug 2023 00:50:41 +0000 (08:50 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Aug 2023 10:42:47 +0000 (11:42 +0100)
./drivers/net/ethernet/freescale/fman/mac.c: linux/of_platform.h is included more than once.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=6039
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/fman/mac.c

index b6c7c4c0b367d8b22f06c16c51a7573f44624669..9767586b4eb3298fbb76543a330263405821cb15 100644 (file)
@@ -12,7 +12,6 @@
 #include <linux/of_net.h>
 #include <linux/of_mdio.h>
 #include <linux/device.h>
-#include <linux/of_platform.h>
 #include <linux/phy.h>
 #include <linux/netdevice.h>
 #include <linux/phy_fixed.h>