mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [net-next: PATCH] net: dsa: remove unused headers
@ 2022-04-25 10:11 Marcin Wojtas
  2022-04-25 11:20 ` patchwork-bot+netdevbpf
  0 siblings, 1 reply; 2+ messages in thread
From: Marcin Wojtas @ 2022-04-25 10:11 UTC (permalink / raw)
  To: linux-kernel, netdev
  Cc: davem, kuba, andrew, vivien.didelot, f.fainelli, olteanv,
	upstream, Marcin Wojtas

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [net-next: PATCH] net: dsa: remove unused headers
  2022-04-25 10:11 [net-next: PATCH] net: dsa: remove unused headers Marcin Wojtas
@ 2022-04-25 11:20 ` patchwork-bot+netdevbpf
  0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2022-04-25 11:20 UTC (permalink / raw)
  To: Marcin Wojtas
  Cc: linux-kernel, netdev, davem, kuba, andrew, vivien.didelot,
	f.fainelli, olteanv, upstream

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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-04-25 11:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-25 10:11 [net-next: PATCH] net: dsa: remove unused headers Marcin Wojtas
2022-04-25 11:20 ` patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome