mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-13 07:31:07 +00:00
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>
This commit is contained in:
parent
f748f64f06
commit
f99d3308c5
1 changed files with 5 additions and 3 deletions
Loading…
Add table
Add a link
Reference in a new issue