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
1 changed files with 0 additions and 2 deletions

View File

@ -236,8 +236,6 @@ static void scan_request_triggered(struct l_genl_msg *msg, void *userdata)
return;
}
l_queue_remove(sc->requests, sr);
scan_request_failed(sc, sr, err);
l_error("Received error during CMD_TRIGGER_SCAN: %s (%d)",