diff options
author | Eliad Peller <eliad@wizery.com> | 2013-12-03 17:02:15 +0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-12-03 17:25:46 +0400 |
commit | de61b610def5249a1295b1eac92f3ce2bfa76b9d (patch) | |
tree | 71930fcddc8ff31ffd745ae3469e6cb098720e22 | |
parent | 55f7435c189498ccbfe6a5fba606933587948d85 (diff) | |
download | linux-de61b610def5249a1295b1eac92f3ce2bfa76b9d.tar.xz |
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.c | 8 |
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 */ |