staging: lusture: obdclass: Remove return statement in void function
authorBhaktipriya Shridhar <bhaktipriya96@gmail.com>
Thu, 31 Dec 2015 11:44:33 +0000 (17:14 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Feb 2016 04:17:18 +0000 (20:17 -0800)
Fix the following checkpatch.pl warning:
WARNING: void function return statements are not generally useful

Signed-off-by: Bhaktipriya Shridhar <bhaktipriya96@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/obdclass/llog_swab.c

index 8f57a8eb412c15ffb6aa37c7f5f65676d8ba036f..7b8379a23eac123ce19b4d637b49443108309b1d 100644 (file)
@@ -346,7 +346,6 @@ void lustre_swab_lustre_cfg(struct lustre_cfg *lcfg)
                __swab32s(&lcfg->lcfg_buflens[i]);
 
        print_lustre_cfg(lcfg);
-       return;
 }
 EXPORT_SYMBOL(lustre_swab_lustre_cfg);