* [PATCH] mroute6: Removed unnecessary 'return'
[not found] <20230719095159.415-1-xujianghui@cdjrlc.com>
@ 2023-07-19 9:55 ` sunran001
0 siblings, 0 replies; only message in thread
From: sunran001 @ 2023-07-19 9:55 UTC (permalink / raw)
To: rostedt, mhiramat; +Cc: linux-kernel, leitao, kuba
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-07-19 16:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20230719095159.415-1-xujianghui@cdjrlc.com>
2023-07-19 9:55 ` [PATCH] mroute6: Removed unnecessary 'return' sunran001
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome