From: Benjamin Romer Date: Fri, 5 Dec 2014 22:08:50 +0000 (-0500) Subject: staging: unisys: get rid of doubled assignment in uislib_mod_init() X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=5f1b9e63ef47351cd2d5941456e2cb51ea060cc8;p=openwrt%2Fstaging%2Fblogic.git 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 --- 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;