aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Li <yang.lee@linux.alibaba.com>2023-08-01 08:50:41 +0800
committerDavid S. Miller <davem@davemloft.net>2023-08-02 11:42:47 +0100
commit34093c9fa05df24558d1e2c5d32f7f93b2c97ee9 (patch)
tree0f1ebd9cd70f1c85ddecd9c91fd78aee9210e54a
parentbd60438eeb1ebe9415b157398083b4910c7f0aa3 (diff)
net: Remove duplicated include in mac.c
./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>
-rw-r--r--drivers/net/ethernet/freescale/fman/mac.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/freescale/fman/mac.c b/drivers/net/ethernet/freescale/fman/mac.c
index b6c7c4c0b367..9767586b4eb3 100644
--- a/drivers/net/ethernet/freescale/fman/mac.c
+++ b/drivers/net/ethernet/freescale/fman/mac.c
@@ -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>