cfg80211: remove unnecessary check
authorZhao, Gang <gamerh2o@gmail.com>
Wed, 19 Mar 2014 09:04:35 +0000 (17:04 +0800)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 19 Mar 2014 20:29:57 +0000 (21:29 +0100)
commit4da64622131b6b0cd1211e220dc88cc15007b59d
tree424b61a6d74544cec3b1f76511aec02020dd23c2
parentfb378c231daf93c7c806848e8247781322867ece
cfg80211: remove unnecessary check

RCU pointer bss->pub.beacon_ies is checked before in previous
statement:

if (rcu_access_pointer(bss->pub.beacon_ies))
continue;

There is no need to check it twice(and in the wrong way :) ).

Signed-off-by: Zhao, Gang <gamerh2o@gmail.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/scan.c