staging: unisys: get rid of doubled assignment in uislib_mod_init()
authorBenjamin Romer <benjamin.romer@unisys.com>
Fri, 5 Dec 2014 22:08:50 +0000 (17:08 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 10 Jan 2015 01:32:32 +0000 (17:32 -0800)
Split the doubled assignment in uislib_mod_init() into two separate assignments.

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 d6151ee..0f33ac6 100644 (file)
@@ -1495,7 +1495,8 @@ uislib_mod_init(void)
 
        /* initialize global pointers to NULL */
        BusListHead = NULL;
-       BusListCount = MaxBusCount = 0;
+       BusListCount = 0;
+       MaxBusCount = 0;
        rwlock_init(&BusListLock);
        virt_control_chan_func = NULL;