mirror of
https://github.com/opnsense/src.git
synced 2026-02-15 16:48:36 -05:00
When calling bioq_first() to see if a queue is empty in bioq_disksort(),
don't save the return value as we won't use it. Noticed by: Coverity Prevent analysis tool MFC after: 3 days
This commit is contained in:
parent
3208581a15
commit
bc03ea7f49
1 changed files with 1 additions and 1 deletions
|
|
@ -153,7 +153,7 @@ bioq_disksort(bioq, bp)
|
|||
/*
|
||||
* If the queue is empty then it's easy.
|
||||
*/
|
||||
if ((bq = bioq_first(bioq)) == NULL) {
|
||||
if (bioq_first(bioq) == NULL) {
|
||||
bioq_insert_tail(bioq, bp);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue