[PATCH] mroute6: Removed unnecessary 'return'

sunran001@208suo.com posted 1 patch 2 years, 6 months ago
include/linux/mroute6.h | 1 -
1 file changed, 1 deletion(-)
[PATCH] mroute6: Removed unnecessary 'return'
Posted by sunran001@208suo.com 2 years, 6 months ago
Fix the checkpatch error as void function return statements are not
generally useful

Signed-off-by: Ran Sun <sunran001@208suo.com>
---
  include/linux/mroute6.h | 1 -
  1 file changed, 1 deletion(-)

diff --git a/include/linux/mroute6.h b/include/linux/mroute6.h
index 63ef5191cc57..4a6e3d28d636 100644
--- a/include/linux/mroute6.h
+++ b/include/linux/mroute6.h
@@ -60,7 +60,6 @@ static inline int ip6_mr_init(void)

  static inline void ip6_mr_cleanup(void)
  {
-	return;
  }
  #endif