commit | 36309d3b105c650eb0398afd1675df30fb570e5d | [log] [tgz] |
---|---|---|
author | David Binder <david.binder@unisys.com> | Thu Dec 22 11:08:59 2016 -0500 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Jan 03 15:17:02 2017 +0100 |
tree | ffa7a8ce017091e90a7b66c21778b83e5940f6ae | |
parent | 98f9ed9ecb5780f654ecf54b7c27bfff9a38962c [diff] |
staging: unisys: visorbus: Use switch statement instead of conditionals Control flow is now directed using a switch statement, triggered by the enum crash_obj_type function parameter, instead of a set of conditional statements. Reported-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: David Binder <david.binder@unisys.com> Signed-off-by: David Kershner <david.kershner@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>