Skip to contentSkip to conversation

net: Remove duplicated include in mac.c

PATCH Applied Yang Li 3 participants 3 messages Aug 1, 2023 – Aug 2, 2023

Subsystems (3)

v1 of 2 Applied 1/1 Latest is v2 →

lore
Share & tools
lore

Yang Li

author
#0 lore raw

PATCH 1/1 net: Remove duplicated include in mac.c

./drivers/net/ethernet/freescale/fman/mac.c: linux/of_platform.h is included more than once.

---
 drivers/net/ethernet/freescale/fman/mac.c | 1 -
 1 file changed, 1 deletion(-)
drivers/net/ethernet/freescale/fman/mac.c +0 -1
index b6c7c4c0b367..9767586b4eb3 100644
@@ -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>
Signature · 1 line
2.20.1.7.g153144c
reviewer Reviewed-by on v1 1/1
#1 lore raw
Quoted 5 lines · Yang Li

./drivers/net/ethernet/freescale/fman/mac.c: linux/of_platform.h is included more than once.

Looking at git history, I think that a slightly better prefix would be 'net: fman: '.

Subject: [PATCH net-next] net: fman: ...

But other than that, this looks good to me.

#2 lore raw
In reply to Yang Li
This patch was applied to netdev/net-next.git (main) by David S. Miller <[email protected]>:

Hello:

This patch was applied to netdev/net-next.git (main) by David S. Miller <[email protected]>:

Quoted 8 lines · On Tue, 1 Aug 2023 08:50:41 +0800 you wrote:

./drivers/net/ethernet/freescale/fman/mac.c: linux/of_platform.h is included more than once.

---
 drivers/net/ethernet/freescale/fman/mac.c | 1 -
 1 file changed, 1 deletion(-)

Here is the summary with links:
- [net-next] net: Remove duplicated include in mac.c

    https://git.kernel.org/netdev/net-next/c/34093c9fa05d

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html