Parcourir la source

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>
Johannes Berg il y a 9 ans
Parent
commit
3beea3513f
4 fichiers modifiés avec 2 ajouts et 11 suppressions
  1. 0 1
      net/mac80211/cfg.c
  2. 0 9
      net/mac80211/cfg.h
  3. 2 0
      net/mac80211/ieee80211_i.h
  4. 0 1
      net/mac80211/main.c

+ 0 - 1
net/mac80211/cfg.c

@@ -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"

+ 0 - 9
net/mac80211/cfg.h

@@ -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 */

+ 2 - 0
net/mac80211/ieee80211_i.h

@@ -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

+ 0 - 1
net/mac80211/main.c

@@ -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)