summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2015-10-14 12:36:43 -0400
committerJohannes Berg <johannes.berg@intel.com>2015-10-14 12:36:43 -0400
commit3beea3513f6157500984dc6117fcf036b3380d7e (patch)
treef9713ae77f71f2406ca49d931b9a8e6e1afed46b
parentfbd6ff5ceafa9c9c39e20f5a4f8c46c0b5efb2a2 (diff)
mac80211: remove cfg.h
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>
-rw-r--r--net/mac80211/cfg.c1
-rw-r--r--net/mac80211/cfg.h9
-rw-r--r--net/mac80211/ieee80211_i.h2
-rw-r--r--net/mac80211/main.c1
4 files changed, 2 insertions, 11 deletions
diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c
index 61c841aeff60..713cdbf6fb3c 100644
--- a/net/mac80211/cfg.c
+++ b/net/mac80211/cfg.c
@@ -17,7 +17,6 @@
17#include <net/cfg80211.h> 17#include <net/cfg80211.h>
18#include "ieee80211_i.h" 18#include "ieee80211_i.h"
19#include "driver-ops.h" 19#include "driver-ops.h"
20#include "cfg.h"
21#include "rate.h" 20#include "rate.h"
22#include "mesh.h" 21#include "mesh.h"
23#include "wme.h" 22#include "wme.h"
diff --git a/net/mac80211/cfg.h b/net/mac80211/cfg.h
deleted file mode 100644
index 2d51f62dc76c..000000000000
--- a/net/mac80211/cfg.h
+++ /dev/null
@@ -1,9 +0,0 @@
1/*
2 * mac80211 configuration hooks for cfg80211
3 */
4#ifndef __CFG_H
5#define __CFG_H
6
7extern const struct cfg80211_ops mac80211_config_ops;
8
9#endif /* __CFG_H */
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h
index 99735408e99d..04b62435f37e 100644
--- a/net/mac80211/ieee80211_i.h
+++ b/net/mac80211/ieee80211_i.h
@@ -34,6 +34,8 @@
34#include "sta_info.h" 34#include "sta_info.h"
35#include "debug.h" 35#include "debug.h"
36 36
37extern const struct cfg80211_ops mac80211_config_ops;
38
37struct ieee80211_local; 39struct ieee80211_local;
38 40
39/* Maximum number of broadcast/multicast frames to buffer when some of the 41/* Maximum number of broadcast/multicast frames to buffer when some of the
diff --git a/net/mac80211/main.c b/net/mac80211/main.c
index e2514fadc3d7..273c96de4910 100644
--- a/net/mac80211/main.c
+++ b/net/mac80211/main.c
@@ -31,7 +31,6 @@
31#include "mesh.h" 31#include "mesh.h"
32#include "wep.h" 32#include "wep.h"
33#include "led.h" 33#include "led.h"
34#include "cfg.h"
35#include "debugfs.h" 34#include "debugfs.h"
36 35
37void ieee80211_configure_filter(struct ieee80211_local *local) 36void ieee80211_configure_filter(struct ieee80211_local *local)