diff options
author | Eliad Peller <eliad@wizery.com> | 2013-12-03 15:02:15 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-12-03 14:25:46 +0100 |
commit | de61b610def5249a1295b1eac92f3ce2bfa76b9d (patch) | |
tree | 71930fcddc8ff31ffd745ae3469e6cb098720e22 /net/mac80211 | |
parent | 55f7435c189498ccbfe6a5fba606933587948d85 (diff) |
mac80211: remove duplicate code
The same code appears just a few lines below.
Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211')
-rw-r--r-- | net/mac80211/scan.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/net/mac80211/scan.c b/net/mac80211/scan.c index c22cbb57b49..b12bb72a5f3 100644 --- a/net/mac80211/scan.c +++ b/net/mac80211/scan.c @@ -786,14 +786,6 @@ void ieee80211_scan_work(struct work_struct *work) } /* - * Avoid re-scheduling when the sdata is going away. - */ - if (!ieee80211_sdata_running(sdata)) { - aborted = true; - goto out_complete; - } - - /* * as long as no delay is required advance immediately * without scheduling a new work */ |