Skip to contentSkip to conversation

Staging:lustre:lustre:obdclass:Remove return from void function

PATCH New Bhumika Goyal 1 participant 1 message Jan 15, 2016 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Staging:lustre:lustre:obdclass:Remove return from void function

This patch removes the return statement at the end of a void function as it is not necessary.This was found by checkpatch.pl .

---
 drivers/staging/lustre/lustre/obdclass/llog_swab.c | 2 --
 1 file changed, 2 deletions(-)
drivers/staging/lustre/lustre/obdclass/llog_swab.c +0 -2
index 3aa7393..8f57a8e 100644
@@ -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);
Signature · 1 line
1.9.1