[net-next: PATCH] net: dsa: remove unused headers

Marcin Wojtas posted 1 patch 4 years ago
net/dsa/dsa.c | 9 ---------
1 file changed, 9 deletions(-)
[net-next: PATCH] net: dsa: remove unused headers
Posted by Marcin Wojtas 4 years ago
Reduce a number of included headers to a necessary minimum.

Signed-off-by: Marcin Wojtas <mw@semihalf.com>
---
 net/dsa/dsa.c | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/net/dsa/dsa.c b/net/dsa/dsa.c
index 89c6c86e746f..0c6ae32742ec 100644
--- a/net/dsa/dsa.c
+++ b/net/dsa/dsa.c
@@ -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"
 
-- 
2.29.0
Re: [net-next: PATCH] net: dsa: remove unused headers
Posted by patchwork-bot+netdevbpf@kernel.org 4 years ago
Hello:

This patch was applied to netdev/net-next.git (master)
by David S. Miller <davem@davemloft.net>:

On Mon, 25 Apr 2022 12:11:02 +0200 you wrote:
> Reduce a number of included headers to a necessary minimum.
> 
> Signed-off-by: Marcin Wojtas <mw@semihalf.com>
> ---
>  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!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html