summaryrefslogtreecommitdiffstats
path: root/net/wireless/core.h
diff options
context:
space:
mode:
authorZhao, Gang <gamerh2o@gmail.com>2014-03-19 17:04:36 +0800
committerJohannes Berg <johannes.berg@intel.com>2014-03-19 21:29:58 +0100
commit73fb08e24ae840bc518facc2c605dd6bb3751fec (patch)
tree772b4e5a7e6f0f3049cace035723a93871438f01 /net/wireless/core.h
parent4da64622131b6b0cd1211e220dc88cc15007b59d (diff)
downloadlinux-73fb08e24ae840bc518facc2c605dd6bb3751fec.tar.gz
linux-73fb08e24ae840bc518facc2c605dd6bb3751fec.tar.bz2
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.h1
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)