staging: unisys: visorbus: remove unused initializations
authorSameer Wadgaonkar <sameer.wadgaonkar@unisys.com>
Thu, 3 Nov 2016 15:44:17 +0000 (11:44 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 Nov 2016 09:56:39 +0000 (10:56 +0100)
commitc4fe36cd262d5fe710ff9ee43cb99337e8b050de
tree1361c45345edfb6dd68f3942a4a0346197fbac0c
parent8217becc1b416e348d1bc8fcb54c09967e0f4987
staging: unisys: visorbus: remove unused initializations

Removed intializations from visorchipset_open(), visorchipset_init()
and moved the memset in initialize_controlvm_payload_info() down in
case of early returns from the function.

Signed-off-by: Sameer Wadgaonkar <sameer.wadgaonkar@unisys.com>
Signed-off-by: David Kershner <david.kershner@unisys.com>
Reported-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visorbus/visorchipset.c