Staging:lustre:lustre:obdclass:Remove return from void function
authorBhumika Goyal <bhumirks@gmail.com>
Fri, 15 Jan 2016 06:02:11 +0000 (11:32 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Feb 2016 22:42:33 +0000 (14:42 -0800)
This patch removes the return statement at the end of a void function as
it is not necessary.This was found by checkpatch.pl .

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

index 3aa7393..8f57a8e 100644 (file)
@@ -406,7 +406,5 @@ void lustre_swab_cfg_marker(struct cfg_marker *marker, int swab, int size)
                __swab64s(&marker->cm_createtime);
                __swab64s(&marker->cm_canceltime);
        }
-
-       return;
 }
 EXPORT_SYMBOL(lustre_swab_cfg_marker);