staging: unisys: visorbus: Remove useless else clause in visorutil_spar_detect.
authorDavid Kershner <david.kershner@unisys.com>
Wed, 30 Aug 2017 17:36:25 +0000 (13:36 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 31 Aug 2017 16:17:39 +0000 (18:17 +0200)
commite4a064300002986132afa426fbe3f7376ce8f7cd
tree4da0d4d0bbe974e73f1eae2a5aa0e885ef3c32ed
parent26a42c251ed8a31529b9529a9d03b3d781cbd169
staging: unisys: visorbus: Remove useless else clause in visorutil_spar_detect.

The function visorutil_spar_detect had an if clause that returns from the
function, no need to do the rest of the code in an else clause.

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/visorchipset.c