diff options
author | Zhao, Gang <gamerh2o@gmail.com> | 2014-03-19 17:04:36 +0800 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2014-03-19 21:29:58 +0100 |
commit | 73fb08e24ae840bc518facc2c605dd6bb3751fec (patch) | |
tree | 772b4e5a7e6f0f3049cace035723a93871438f01 /net/wireless/core.h | |
parent | 4da64622131b6b0cd1211e220dc88cc15007b59d (diff) | |
download | blackbird-op-linux-73fb08e24ae840bc518facc2c605dd6bb3751fec.tar.gz blackbird-op-linux-73fb08e24ae840bc518facc2c605dd6bb3751fec.zip |
cfg80211: remove macro ASSERT_RDEV_LOCK(rdev)
Macro ASSERT_RDEV_LOCK(rdev) is equal to ASSERT_RTNL(), so replace it
with ASSERT_RTNL() and remove it.
Signed-off-by: Zhao, Gang <gamerh2o@gmail.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/core.h')
-rw-r--r-- | net/wireless/core.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/wireless/core.h b/net/wireless/core.h index 579149d0ea34..5b1fdcadd469 100644 --- a/net/wireless/core.h +++ b/net/wireless/core.h @@ -166,7 +166,6 @@ static inline void wdev_unlock(struct wireless_dev *wdev) mutex_unlock(&wdev->mtx); } -#define ASSERT_RDEV_LOCK(rdev) ASSERT_RTNL() #define ASSERT_WDEV_LOCK(wdev) lockdep_assert_held(&(wdev)->mtx) static inline bool cfg80211_has_monitors_only(struct cfg80211_registered_device *rdev) |