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/sme.c | |
parent | 4da64622131b6b0cd1211e220dc88cc15007b59d (diff) |
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/sme.c')
-rw-r--r-- | net/wireless/sme.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/wireless/sme.c b/net/wireless/sme.c index f04d4c32e96e..acdcb4a81817 100644 --- a/net/wireless/sme.c +++ b/net/wireless/sme.c @@ -64,7 +64,6 @@ static int cfg80211_conn_scan(struct wireless_dev *wdev) int n_channels, err; ASSERT_RTNL(); - ASSERT_RDEV_LOCK(rdev); ASSERT_WDEV_LOCK(wdev); if (rdev->scan_req || rdev->scan_msg) |