aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/unisys/visorhba
diff options
context:
space:
mode:
authorDavid Binder <david.binder@unisys.com>2016-05-12 09:14:47 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-06-07 22:55:19 -0700
commitab2c3d75451819b4d28ec6dececd299ac03d39ec (patch)
tree112c63677313befa324cb67d4f4832d31b38c287 /drivers/staging/unisys/visorhba
parentstaging: unisys: visornic: cleanup error handling (diff)
downloadlinux-dev-ab2c3d75451819b4d28ec6dececd299ac03d39ec.tar.xz
linux-dev-ab2c3d75451819b4d28ec6dececd299ac03d39ec.zip
staging: unisys: visorhba: return 0 literal
Returns 0 instead of variable rc in visorhba_init(). 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>
Diffstat (limited to 'drivers/staging/unisys/visorhba')
-rw-r--r--drivers/staging/unisys/visorhba/visorhba_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/unisys/visorhba/visorhba_main.c b/drivers/staging/unisys/visorhba/visorhba_main.c
index 11985bbafd1c..5ef1d30d77e5 100644
--- a/drivers/staging/unisys/visorhba/visorhba_main.c
+++ b/drivers/staging/unisys/visorhba/visorhba_main.c
@@ -1204,7 +1204,7 @@ static int visorhba_init(void)
if (rc)
goto cleanup_debugfs;
- return rc;
+ return 0;
cleanup_debugfs:
debugfs_remove_recursive(visorhba_debugfs_dir);