diff mbox

[net-next] core: remove unneded headers for net cgroup controllers.

Message ID 1455496783-8478-1-git-send-email-rami.rosen@intel.com
State Accepted, archived
Delegated to: David Miller
Headers show

Commit Message

Rami Rosen Feb. 15, 2016, 12:39 a.m. UTC
commit 3ed80a6 (cgroup: drop module support) made including 
module.h redundant in the net cgroup controllers, 
netclassid_cgroup.c and netprio_cgroup.c. This patch 
removes them.

Signed-off-by: Rami Rosen <rami.rosen@intel.com>
---
 net/core/netclassid_cgroup.c | 1 -
 net/core/netprio_cgroup.c    | 1 -
 2 files changed, 2 deletions(-)

Comments

Tejun Heo Feb. 15, 2016, 6:32 p.m. UTC | #1
On Mon, Feb 15, 2016 at 02:39:43AM +0200, Rami Rosen wrote:
> commit 3ed80a6 (cgroup: drop module support) made including 
> module.h redundant in the net cgroup controllers, 
> netclassid_cgroup.c and netprio_cgroup.c. This patch 
> removes them.
> 
> Signed-off-by: Rami Rosen <rami.rosen@intel.com>

Acked-by: Tejun Heo <tj@kernel.org>

Thanks.
David Miller Feb. 17, 2016, 8:32 p.m. UTC | #2
From: Rami Rosen <rami.rosen@intel.com>
Date: Mon, 15 Feb 2016 02:39:43 +0200

> commit 3ed80a6 (cgroup: drop module support) made including 
> module.h redundant in the net cgroup controllers, 
> netclassid_cgroup.c and netprio_cgroup.c. This patch 
> removes them.
> 
> Signed-off-by: Rami Rosen <rami.rosen@intel.com>

Applied, thank you.
diff mbox

Patch

diff --git a/net/core/netclassid_cgroup.c b/net/core/netclassid_cgroup.c
index 0260c84..11fce17 100644
--- a/net/core/netclassid_cgroup.c
+++ b/net/core/netclassid_cgroup.c
@@ -9,7 +9,6 @@ 
  * Authors:	Thomas Graf <tgraf@suug.ch>
  */
 
-#include <linux/module.h>
 #include <linux/slab.h>
 #include <linux/cgroup.h>
 #include <linux/fdtable.h>
diff --git a/net/core/netprio_cgroup.c b/net/core/netprio_cgroup.c
index f1efbc3..2ec86fc 100644
--- a/net/core/netprio_cgroup.c
+++ b/net/core/netprio_cgroup.c
@@ -11,7 +11,6 @@ 
 
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
 
-#include <linux/module.h>
 #include <linux/slab.h>
 #include <linux/types.h>
 #include <linux/string.h>