mac80211: remove cfg.h
authorJohannes Berg <johannes.berg@intel.com>
Wed, 14 Oct 2015 16:36:43 +0000 (18:36 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 14 Oct 2015 16:36:43 +0000 (18:36 +0200)
The file contains just a single declaration that can easily
move to another file - remove it.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/cfg.c
net/mac80211/cfg.h [deleted file]
net/mac80211/ieee80211_i.h
net/mac80211/main.c

index 61c841aeff60ea971619e44fe4c9a060d3c28afd..713cdbf6fb3c111d0d5ce736368116538e960df2 100644 (file)
@@ -17,7 +17,6 @@
 #include <net/cfg80211.h>
 #include "ieee80211_i.h"
 #include "driver-ops.h"
-#include "cfg.h"
 #include "rate.h"
 #include "mesh.h"
 #include "wme.h"
diff --git a/net/mac80211/cfg.h b/net/mac80211/cfg.h
deleted file mode 100644 (file)
index 2d51f62..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-/*
- * mac80211 configuration hooks for cfg80211
- */
-#ifndef __CFG_H
-#define __CFG_H
-
-extern const struct cfg80211_ops mac80211_config_ops;
-
-#endif /* __CFG_H */
index 99735408e99db5817e2fcd30267d8ab431fe7cd6..04b62435f37eb2873d8686fd0f92f82a9bdb2d90 100644 (file)
@@ -34,6 +34,8 @@
 #include "sta_info.h"
 #include "debug.h"
 
+extern const struct cfg80211_ops mac80211_config_ops;
+
 struct ieee80211_local;
 
 /* Maximum number of broadcast/multicast frames to buffer when some of the
index e2514fadc3d766b878144f54b66b066cbf78dbeb..273c96de4910970a0db3cd95c0da75d3a1695c9d 100644 (file)
@@ -31,7 +31,6 @@
 #include "mesh.h"
 #include "wep.h"
 #include "led.h"
-#include "cfg.h"
 #include "debugfs.h"
 
 void ieee80211_configure_filter(struct ieee80211_local *local)