Commit ae300347 authored by Dridi Boukelmoune's avatar Dridi Boukelmoune

wrk: Simplify condition

parent c6c4915a
......@@ -193,7 +193,7 @@ wrk_addstat(const struct worker *wrk, const struct pool_task *tp, unsigned locke
Lck_Unlock(&pp->mtx);
}
return (tp == NULL ? 0 : 1);
return (tp != NULL);
}
void
......
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