Skip to contentSkip to conversation

staging: lusture: obdclass: Remove return statement in void function

PATCH New Bhaktipriya Shridhar 1 participant 1 message Dec 31, 2015 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: lusture: obdclass: Remove return statement in void function

Fix the following checkpatch.pl warning:
WARNING: void function return statements are not generally useful

---
 drivers/staging/lustre/lustre/obdclass/llog_swab.c | 1 -
 1 file changed, 1 deletion(-)
drivers/staging/lustre/lustre/obdclass/llog_swab.c +0 -1
index 3aa7393..f57ecd9 100644
@@ -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