unisys: remove the thread variable and API
authorDevendra Naga <devendra.aaru@gmail.com>
Thu, 19 Feb 2015 19:08:34 +0000 (14:08 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Feb 2015 01:24:13 +0000 (17:24 -0800)
remove the should_stop variable and KILL API as they are
no longer required

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/include/uisthread.h
drivers/staging/unisys/uislib/uisthread.c

index aa86ade7cb13a9c00559e48249fb0e8f87e7bb36..52c3eb4ded2c5c3deb465b32bb012026d922ae36 100644 (file)
@@ -27,7 +27,6 @@
 struct uisthread_info {
        struct task_struct *task;
        int id;
-       int should_stop;
        struct completion has_stopped;
 };
 
index 20a2a1bb1ba4112654bf1f798bf5b90be9110286..d54005d8f50d0d09d68b223b3fe1754de1fe476f 100644 (file)
@@ -24,8 +24,6 @@
 #include "uisutils.h"
 #include "uisthread.h"
 
-#define KILL(a, b, c) kill_pid(find_vpid(a), b, c)
-
 /* this is shorter than using __FILE__ (full path name) in
  * debug/info/error messages
  */