summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEliad Peller <eliad@wizery.com>2013-12-03 15:02:15 +0200
committerJohannes Berg <johannes.berg@intel.com>2013-12-03 14:25:46 +0100
commitde61b610def5249a1295b1eac92f3ce2bfa76b9d (patch)
tree71930fcddc8ff31ffd745ae3469e6cb098720e22
parent55f7435c189498ccbfe6a5fba606933587948d85 (diff)
downloadlinux-de61b610def5249a1295b1eac92f3ce2bfa76b9d.tar.bz2
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>
-rw-r--r--net/mac80211/scan.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/net/mac80211/scan.c b/net/mac80211/scan.c
index c22cbb57b49d..b12bb72a5f37 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
*/