Patchwork net: remove unnecessary wireless includes

login
register
mail settings
Submitter Johannes Berg
Date Nov. 16, 2012, 8:59 p.m.
Message ID <1353099561-14339-1-git-send-email-johannes@sipsolutions.net>
Download mbox | patch
Permalink /patch/199731/
State Accepted
Delegated to: David Miller
Headers show

Comments

Johannes Berg - Nov. 16, 2012, 8:59 p.m.
From: Johannes Berg <johannes.berg@intel.com>

The wireless and wext includes in net-sysfs.c aren't
needed, so remove them.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
---
 net/core/net-sysfs.c | 2 --
 1 file changed, 2 deletions(-)
David Miller - Nov. 20, 2012, 12:10 a.m.
From: Johannes Berg <johannes@sipsolutions.net>
Date: Fri, 16 Nov 2012 21:59:21 +0100

> From: Johannes Berg <johannes.berg@intel.com>
> 
> The wireless and wext includes in net-sysfs.c aren't
> needed, so remove them.
> 
> Signed-off-by: Johannes Berg <johannes.berg@intel.com>

Applied, thanks Johannes.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/net/core/net-sysfs.c b/net/core/net-sysfs.c
index bcf02f6..b407879 100644
--- a/net/core/net-sysfs.c
+++ b/net/core/net-sysfs.c
@@ -18,11 +18,9 @@ 
 #include <net/sock.h>
 #include <net/net_namespace.h>
 #include <linux/rtnetlink.h>
-#include <linux/wireless.h>
 #include <linux/vmalloc.h>
 #include <linux/export.h>
 #include <linux/jiffies.h>
-#include <net/wext.h>
 
 #include "net-sysfs.h"