[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20221128130038.4e038f1b@gandalf.local.home>
Date: Mon, 28 Nov 2022 13:00:38 -0500
From: Steven Rostedt <rostedt@...dmis.org>
To: <zhang.songyi@....com.cn>
Cc: <mhiramat@...nel.org>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH linux-next] ring_buffer: remove redundant ret variables
On Mon, 28 Nov 2022 21:10:00 +0800 (CST)
<zhang.songyi@....com.cn> wrote:
> From: zhang songyi <zhang.songyi@....com.cn>
>
> Return values from ring_buffer_bytes_cpu(), ring_buffer_overrun_cpu(),
> ring_buffer_commit_overrun_cpu(), ring_buffer_dropped_events_cpu()
> directly instead of taking this in another redundant variable.
>
> Signed-off-by: zhang songyi <zhang.songyi@....com.cn>
> ---
Fine, I may add this, as it looks like leftovers from 8aabee573dff
("ring-buffer: remove unneeded get_online_cpus"). But they make no real
difference staying as is.
-- Steve
Powered by blists - more mailing lists