mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-22 13:02:44 +01:00
scan: Remove redundant call
l_queue_remove is already called in scan_request_failed.
This commit is contained in:
parent
c125d2b003
commit
1fd6aba43c
@ -236,8 +236,6 @@ static void scan_request_triggered(struct l_genl_msg *msg, void *userdata)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
l_queue_remove(sc->requests, sr);
|
|
||||||
|
|
||||||
scan_request_failed(sc, sr, err);
|
scan_request_failed(sc, sr, err);
|
||||||
|
|
||||||
l_error("Received error during CMD_TRIGGER_SCAN: %s (%d)",
|
l_error("Received error during CMD_TRIGGER_SCAN: %s (%d)",
|
||||||
|
Loading…
Reference in New Issue
Block a user