[RFC: 2.6 patch] kernel/kthread.c: possible cleanups

Adrian Bunk
2006-04-26T12:31:13Z

On Sun, Apr 23, 2006 at 03:37:40PM +0200, Ingo Oeser wrote:
> Hi Adrian,
>
> On Sunday, 23. April 2006 13:40, Adrian Bunk wrote:
> > This patch makes the needlessly global kthread_stop_sem() static.
>
> Could you cleanup the code paths as well?
>
> Now s is always NULL in kthread_stop_sem() and
> kthread_stop_sem() is degenerated to kthread_stop().
> So it can be folded into the latter.

Sounds reasonable, updated patch below.

> Regards
>
> Ingo Oeser

cu
Adrian

<-- snip -->