Message ID | 20220425101102.2811727-1-mw@semihalf.com (mailing list archive) |
---|---|
State | Accepted |
Commit | df1cc21152ffb605e2f32e5642891f9b908e3f11 |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | [net-next:] net: dsa: remove unused headers | expand |
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!
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"
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(-)