* [PATCH] staging: lusture: obdclass: Remove return statement in void function
@ 2015-12-31 11:44 Bhaktipriya Shridhar
0 siblings, 0 replies; only message in thread
From: Bhaktipriya Shridhar @ 2015-12-31 11:44 UTC (permalink / raw)
To: oleg.drokin, andreas.dilger, gregkh, henri.doreau, bhaktipriya96,
mike.rapoport, shraddha.6596
Cc: lustre-devel, devel, linux-kernel
Fix the following checkpatch.pl warning:
WARNING: void function return statements are not generally useful
Signed-off-by: Bhaktipriya Shridhar <bhaktipriya96@gmail.com>
---
drivers/staging/lustre/lustre/obdclass/llog_swab.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/staging/lustre/lustre/obdclass/llog_swab.c b/drivers/staging/lustre/lustre/obdclass/llog_swab.c
index 3aa7393..f57ecd9 100644
--- a/drivers/staging/lustre/lustre/obdclass/llog_swab.c
+++ b/drivers/staging/lustre/lustre/obdclass/llog_swab.c
@@ -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);
--
2.1.4
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2015-12-31 11:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-31 11:44 [PATCH] staging: lusture: obdclass: Remove return statement in void function Bhaktipriya Shridhar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox