On Tue, 15 Jun 2021 09:59:10 +0800
"libaokun (A)" <libaokun1@xxxxxxxxxx> wrote:
pingWhich was a bug.
在 2021/5/27 17:10, Baokun Li 写道:
Fixes gcc '-Wunused-but-set-variable' warning:
kernel/trace/trace_events_hist.c: In function 'unregister_field_var_hists':
kernel/trace/trace_events_hist.c:5228:6: warning:
variable ‘ret’ set but not used [-Wunused-but-set-variable]
It never used since introduction.
This was fixed differently:Signed-off-by: Baokun Li <libaokun1@xxxxxxxxxx>
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=6c610dba6e2beb1a16ac309672181d0090fb8d30
-- Steve
.