Re: [PATCH] pids: simplify do_each_task_pid/while_each_task_pid

From: Arjan van de Ven
Date: Thu Apr 13 2006 - 10:28:47 EST



> 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 :)


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/