]> git.karo-electronics.de Git - linux-beck.git/commit
staging: unisys: visorbus: cleanup goto in setup_crash_devices_work_queue
authorDavid Kershner <david.kershner@unisys.com>
Fri, 11 Mar 2016 22:01:38 +0000 (17:01 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Mar 2016 14:30:36 +0000 (07:30 -0700)
commitb899963f158056f19928ed5dc7314fac5b57db97
tree33488da2b9c2609ca3e7ee042c87efd45f3c6bd4
parentdae0587ef0c8e6584837d3737fc5555eb2b36097
staging: unisys: visorbus: cleanup goto in setup_crash_devices_work_queue

If visorbus has registered yet just reschedule and exit. The rest of
the function doesn't need to reschedule so just move it up to the
initial check.

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