From 5f1b9e63ef47351cd2d5941456e2cb51ea060cc8 Mon Sep 17 00:00:00 2001 From: Benjamin Romer Date: Fri, 5 Dec 2014 17:08:50 -0500 Subject: [PATCH] staging: unisys: get rid of doubled assignment in uislib_mod_init() Split the doubled assignment in uislib_mod_init() into two separate assignments. 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 d6151ee3645b..0f33ac6ef2cc 100644 --- a/drivers/staging/unisys/uislib/uislib.c +++ b/drivers/staging/unisys/uislib/uislib.c @@ -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; -- 2.20.1