Skip to contentSkip to conversation

net: dsa: remove unused headers

PATCH Applied Marcin Wojtas 2 participants 2 messages Apr 25, 2022

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net: dsa: remove unused headers

Reduce a number of included headers to a necessary minimum.

---
 net/dsa/dsa.c | 9 ---------
 1 file changed, 9 deletions(-)
net/dsa/dsa.c +0 -9
index 89c6c86e746f..0c6ae32742ec 100644
@@ -7,19 +7,10 @@
 
 #include <linux/device.h>
 #include <linux/list.h>
-#include <linux/platform_device.h>
-#include <linux/slab.h>
 #include <linux/module.h>
-#include <linux/notifier.h>
-#include <linux/of.h>
-#include <linux/of_mdio.h>
-#include <linux/of_platform.h>
-#include <linux/of_net.h>
 #include <linux/netdevice.h>
 #include <linux/sysfs.h>
-#include <linux/phy_fixed.h>
 #include <linux/ptp_classify.h>
-#include <linux/etherdevice.h>
 
 #include "dsa_priv.h"
 
Signature · 1 line
2.29.0
#1 lore raw
This patch was applied to netdev/net-next.git (master) by David S. Miller <[email protected]>:

Hello:

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

Quoted 6 lines · On Mon, 25 Apr 2022 12:11:02 +0200 you wrote:

Reduce a number of included headers to a necessary minimum.

---
 net/dsa/dsa.c | 9 ---------
 1 file changed, 9 deletions(-)

Here is the summary with links:
- [net-next:] net: dsa: remove unused headers

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

You are awesome, thank you!

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