Skip to contentSkip to conversation

mroute6: Removed unnecessary 'return'

PATCH New [email protected] 1 participant 1 message Jul 19, 2023 1 message not in the archive IPv4/IPv6

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 1/1 mroute6: Removed unnecessary 'return'

Fix the checkpatch error as void function return statements are not generally useful

---
 include/linux/mroute6.h | 1 -
 1 file changed, 1 deletion(-)
include/linux/mroute6.h +0 -1
index 63ef5191cc57..4a6e3d28d636 100644
@@ -60,7 +60,6 @@ static inline int ip6_mr_init(void)
 
 static inline void ip6_mr_cleanup(void)
 {
-	return;
 }
 #endif