Commit 5f1b9e63 authored by Benjamin Romer's avatar Benjamin Romer Committed by Greg Kroah-Hartman

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: default avatarBryan Thompson <bryan.thompson@unisys.com>
Signed-off-by: default avatarBenjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 2f652e0c
...@@ -1495,7 +1495,8 @@ uislib_mod_init(void) ...@@ -1495,7 +1495,8 @@ uislib_mod_init(void)
/* initialize global pointers to NULL */ /* initialize global pointers to NULL */
BusListHead = NULL; BusListHead = NULL;
BusListCount = MaxBusCount = 0; BusListCount = 0;
MaxBusCount = 0;
rwlock_init(&BusListLock); rwlock_init(&BusListLock);
virt_control_chan_func = NULL; virt_control_chan_func = NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment