3
0
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:
Denis Kenzior 2022-01-19 11:24:47 -06:00
parent c125d2b003
commit 1fd6aba43c

View File

@ -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)",