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 d6151ee3645b14e54549e8d3dbaf0f6bc352ac32..0f33ac6ef2cc0c297d938e83231fe1a3fa90131b 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;