commit | f99d3308c5490c3bf72a7d4929bb76443daa2097 | [log] [tgz] |
---|---|---|
author | Benjamin Romer <benjamin.romer@unisys.com> | Tue Feb 23 12:44:16 2016 -0500 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Feb 25 22:40:52 2016 -0800 |
tree | 7d5a04db322f1a5817c8a551eb51b096bad15543 | |
parent | f748f64f0605f5a236aee103b75ec48075d2c4fa [diff] |
staging: unisys: cleanup rc -1 in create_visor_device() Get rid of the rc = -1 initialization. Return a meaningful error on failure in the function, or, the rc from a called function if it fails. Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>