Commit e700b07f authored by Poul-Henning Kamp's avatar Poul-Henning Kamp Committed by Tollef Fog Heen

Silence a Flexelint warning

parent b2bad5a6
......@@ -232,7 +232,8 @@ alloc_smf(struct smf_sc *sc, size_t bytes)
b = bytes / sc->pagesize;
if (b >= NBUCKET)
b = NBUCKET - 1;
for (sp = NULL; b < NBUCKET - 1; b++) {
sp = NULL;
for (; b < NBUCKET - 1; b++) {
sp = VTAILQ_FIRST(&sc->free[b]);
if (sp != NULL)
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