Re: [PATCH] pids: simplify do_each_task_pid/while_each_task_pid

Arjan van de Ven
2006-04-13T14:28:44Z

> Then the caller should check find_pid() doesn't return NULL. But yes,
> we can hide this check inside for_each_task_pid().
>
> But what about current users of do_each_task_pid ? We can't just remove
> these macros.

you can if you fix the callers :)