mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-05 00:20:32 +00:00
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>
This commit is contained in:
parent
55f7435c18
commit
de61b610de
1 changed files with 0 additions and 8 deletions
|
@ -785,14 +785,6 @@ void ieee80211_scan_work(struct work_struct *work)
|
|||
goto out;
|
||||
}
|
||||
|
||||
/*
|
||||
* 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
|
||||
|
|
Loading…
Reference in a new issue