Commit ff5db439 authored by Eliad Peller's avatar Eliad Peller Committed by Johannes Berg
Browse files

mac80211: remove redundant check

local->scan_req was tested in the previous line, so it
can't be NULL.
Signed-off-by: default avatarEliad Peller <>
Signed-off-by: default avatarJohannes Berg <>
parent 8cd4d456
......@@ -799,7 +799,7 @@ void ieee80211_scan_work(struct work_struct *work)
if (!sdata || !local->scan_req)
goto out;
if (local->scan_req && !local->scanning) {
if (!local->scanning) {
struct cfg80211_scan_request *req = local->scan_req;
int rc;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment