aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/unisys/uislib/uisthread.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/unisys/uislib/uisthread.c')
-rw-r--r--drivers/staging/unisys/uislib/uisthread.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/unisys/uislib/uisthread.c b/drivers/staging/unisys/uislib/uisthread.c
index c93ab04c3cfc..c0fc812f751e 100644
--- a/drivers/staging/unisys/uislib/uisthread.c
+++ b/drivers/staging/unisys/uislib/uisthread.c
@@ -62,6 +62,7 @@ uisthread_stop(struct uisthread_info *thrinfo)
{
int ret;
int stopped = 0;
+
if (thrinfo->id == 0)
return; /* thread not running */