diff options
-rw-r--r-- | net/wireless/core.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/net/wireless/core.h b/net/wireless/core.h index fcee83a0c9bb..02668b02e331 100644 --- a/net/wireless/core.h +++ b/net/wireless/core.h | |||
@@ -73,10 +73,7 @@ bool wiphy_idx_valid(int wiphy_idx) | |||
73 | extern struct mutex cfg80211_mutex; | 73 | extern struct mutex cfg80211_mutex; |
74 | extern struct list_head cfg80211_drv_list; | 74 | extern struct list_head cfg80211_drv_list; |
75 | 75 | ||
76 | static inline void assert_cfg80211_lock(void) | 76 | #define assert_cfg80211_lock() WARN_ON(!mutex_is_locked(&cfg80211_mutex)) |
77 | { | ||
78 | WARN_ON(!mutex_is_locked(&cfg80211_mutex)); | ||
79 | } | ||
80 | 77 | ||
81 | /* | 78 | /* |
82 | * You can use this to mark a wiphy_idx as not having an associated wiphy. | 79 | * You can use this to mark a wiphy_idx as not having an associated wiphy. |