]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
staging: unisys: visorbus: don't put code in declaration.
authorDavid Kershner <david.kershner@unisys.com>
Wed, 27 Sep 2017 17:14:15 +0000 (13:14 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Sep 2017 09:17:13 +0000 (11:17 +0200)
commit17e4bddadca856d1725d27b8008bb6e9d51a095a
tree4cfb8c239b730f36eb0b9413d74c384a25037e25
parent5d48942c1fa0f217b82053e8db0688538dde1fdb
staging: unisys: visorbus: don't put code in declaration.

Simplify the code by not putting the assignment in the declaration. Define
it and then assign it, so the function doesn't get bunched up on the
right.

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