Commit 91ac88d7 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Silence a Flexelint warning

parent 43b009a8
...@@ -227,7 +227,8 @@ alloc_smf(struct smf_sc *sc, size_t bytes) ...@@ -227,7 +227,8 @@ alloc_smf(struct smf_sc *sc, size_t bytes)
b = bytes / sc->pagesize; b = bytes / sc->pagesize;
if (b >= NBUCKET) if (b >= NBUCKET)
b = NBUCKET - 1; b = NBUCKET - 1;
for (sp = NULL; b < NBUCKET - 1; b++) { sp = NULL;
for (; b < NBUCKET - 1; b++) {
sp = VTAILQ_FIRST(&sc->free[b]); sp = VTAILQ_FIRST(&sc->free[b]);
if (sp != NULL) if (sp != NULL)
break; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment