unisys: replace kthread_create and wake_up_process with kthread_run
authorDevendra Naga <devendra.aaru@gmail.com>
Thu, 19 Feb 2015 19:08:30 +0000 (14:08 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Feb 2015 01:23:46 +0000 (17:23 -0800)
commit31c9b9cf40f8f03f6a7484f2c06c5eb31b3735ce
treecf95ba04cb1f20f399eb51cb0165498d376d7c0f
parentedff162ce38ec1cea17f3cadd095e8e449d79735
unisys: replace kthread_create and wake_up_process with kthread_run

kthread_run calls kthread_create and if the thread is created
it then calls wake_up_process on the corresponding returned
task struct. So the code can be simplified by calling just
kthread_run.

Cc: Ken Cox <jkc@redhat.com>
Cc: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/uislib/uisthread.c