staging: unisys: Clean up kthread usage
authorNeil Horman <nhorman@redhat.com>
Tue, 21 Jul 2015 13:55:39 +0000 (09:55 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Jul 2015 04:19:17 +0000 (21:19 -0700)
commit87a9404ef0be2aac949fdb8854e71d100859f6f5
tree4f65f56d68142966c06b00fbd9edfa9e3c11ccfe
parent513e1cbda230c626bc01492f440805c4a88632d7
staging: unisys: Clean up kthread usage

Remove the has_stopped completion as theres already one available
internally.

Correct the while loops

Remove the while loop in drain_queue as it already exists in the top level
loop

Signed-off-by: Neil Horman <nhorman@redhat.com>
Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visornic/visornic_main.c