提交 de61b610 编写于 作者: E Eliad Peller 提交者: Johannes Berg

mac80211: remove duplicate code

The same code appears just a few lines below.
Signed-off-by: NEliad Peller <eliad@wizery.com>
Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
上级 55f7435c
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册