OSDN Git Service

ring_buffer: Change some static functions to void
authorUros Bizjak <ubizjak@gmail.com>
Sun, 5 Mar 2023 15:55:30 +0000 (16:55 +0100)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Tue, 21 Mar 2023 17:59:31 +0000 (13:59 -0400)
commitb4b55dfd965057232abd317fbbfa31d8a2c16a49
treef3606d4b4ecfe0bf66490f5516b022a73d09fea1
parentfee86a4ed536f4e521f3a4530242e152dd2a466b
ring_buffer: Change some static functions to void

The results of some static functions are not used. Change the
type of these function to void and remove unnecessary returns.

No functional change intended.

Link: https://lkml.kernel.org/r/20230305155532.5549-2-ubizjak@gmail.com
Signed-off-by: Uros Bizjak <ubizjak@gmail.com>
Reviewed-by: Masami Hiramatsu <mhiramat@kernel.org>
Reviewed-by: Mukesh Ojha <quic_mojha@quicinc.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
kernel/trace/ring_buffer.c