]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
staging: unisys: visorbus: clean up initializations
authorDavid Kershner <david.kershner@unisys.com>
Wed, 27 Sep 2017 17:14:19 +0000 (13:14 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Sep 2017 09:17:13 +0000 (11:17 +0200)
commit5d1a7fd754e54af11cf2f9b874c427fd0a786fb4
tree39c185b54757a89b3ef67eb7052ce3fcd15abfa0
parent9f1d28fa2c481489adb51cfb652f1d5d910d889b
staging: unisys: visorbus: clean up initializations

Don't compute value of offset during initialization. Assigning a value to
offset should happen after we have verified all of its components.

Signed-off-by: David Kershner <david.kershner@unisys.com>
Reviewed-by: Tim Sell <timothy.sell@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visorbus/visorbus_main.c