From f0b9a0f9e047574cc5a9070319d82627c8ba265c Mon Sep 17 00:00:00 2001 From: Benjamin Romer Date: Fri, 5 Dec 2014 17:08:48 -0500 Subject: [PATCH] staging: unisys: add missing brackets in Process_Incoming() Fix the brackets in the else clause in Process_Incoming(). Signed-off-by: Bryan Thompson Signed-off-by: Benjamin Romer Signed-off-by: Greg Kroah-Hartman --- drivers/staging/unisys/uislib/uislib.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/unisys/uislib/uislib.c b/drivers/staging/unisys/uislib/uislib.c index 0930919b5915..4d15844b9f58 100644 --- a/drivers/staging/unisys/uislib/uislib.c +++ b/drivers/staging/unisys/uislib/uislib.c @@ -1315,8 +1315,9 @@ Process_Incoming(void *v) &List_Polling_Device_Channels))) { new_tail = lelt; dev->moved_to_tail_cnt++; - } else + } else { dev->last_on_list_cnt++; + } } } if (Incoming_ThreadInfo.should_stop) -- 2.30.2