staging: unisys: add missing brackets in Process_Incoming()
authorBenjamin Romer <benjamin.romer@unisys.com>
Fri, 5 Dec 2014 22:08:48 +0000 (17:08 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 10 Jan 2015 01:32:32 +0000 (17:32 -0800)
Fix the brackets in the else clause in Process_Incoming().

Signed-off-by: Bryan Thompson <bryan.thompson@unisys.com>
Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/uislib/uislib.c

index 0930919b591584a55c363aefc66d644947d06cbe..4d15844b9f58f5730a0d0b1915f09764e247c864 100644 (file)
@@ -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)