[PATCH] remove one nested function from nptl/allocatestack.c
Roland McGrath
roland@hack.frob.com
Thu Jun 5 18:31:00 GMT 2014
> + /* We always add at the beginning of the list. So in this case we
> + only need to check the beginning of these lists to see if the
> + pointers at the head of the list are inconsistent. */
> + list_t *l = NULL;
> +
> + if (stack_used.next->prev != &stack_used)
> + l = &stack_used;
> + else if (stack_cache.next->prev != &stack_cache)
> + l = &stack_cache;
> +
> + if (l)
No implicit Boolean coercion.
Otherwise this is fine.
More information about the Libc-alpha
mailing list