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
@ -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…
x
Reference in New Issue
Block a user