Skip to contentSkip to conversation

netprio_cgroup.h: dont include module.h from other includes

PATCH Applied Paul Gortmaker 4 participants 4 messages Jan 24, 2012 – Jan 25, 2012

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

PATCH 1/1 netprio_cgroup.h: dont include module.h from other includes

A considerable effort was invested in wiping out module.h from being present in all the other standard includes. This one leaked back in, but once again isn't strictly necessary, so remove it.

---

[x86-64 modconfig, yesconfig and ppc64 defconfig all build OK]

include/net/netprio_cgroup.h +0 -1
index e503b87..7b2d431 100644
@@ -13,7 +13,6 @@
 
 #ifndef _NETPRIO_CGROUP_H
 #define _NETPRIO_CGROUP_H
-#include <linux/module.h>
 #include <linux/cgroup.h>
 #include <linux/hardirq.h>
 #include <linux/rcupdate.h>
Signature · 1 line
1.7.7.2
maintainer Applied
#1 lore raw

From: Paul Gortmaker <[email protected]>
Date: Tue, 24 Jan 2012 16:33:19 -0500

Quoted 10 lines

A considerable effort was invested in wiping out module.h from being present in all the other standard includes. This one leaked back in, but once again isn't strictly necessary, so remove it.

---

[x86-64 modconfig, yesconfig and ppc64 defconfig all build OK]

Applied, thanks Paul.

Acked-by on v1 1/1
#3 lore raw
In reply to Paul Gortmaker
Quoted 31 lines · Paul Gortmaker

A considerable effort was invested in wiping out module.h from being present in all the other standard includes. This one leaked back in, but once again isn't strictly necessary, so remove it.

---

[x86-64 modconfig, yesconfig and ppc64 defconfig all build OK]

include/net/netprio_cgroup.h +0 -1
index e503b87..7b2d431 100644
@@ -13,7 +13,6 @@
 
 #ifndef _NETPRIO_CGROUP_H
 #define _NETPRIO_CGROUP_H
-#include <linux/module.h>
 #include <linux/cgroup.h>
 #include <linux/hardirq.h>
 #include <linux/rcupdate.h>
Signature · 6 lines
1.7.7.2

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html