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 <bryan.thompson@unisys.com> Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
2f652e0c83
commit
5f1b9e63ef
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue