summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/kern/subr_disk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/subr_disk.c b/sys/kern/subr_disk.c
index 224882276336..44e4f566d8dc 100644
--- a/sys/kern/subr_disk.c
+++ b/sys/kern/subr_disk.c
@@ -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;
}