[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210615113925.27ad04ea@oasis.local.home>
Date: Tue, 15 Jun 2021 11:39:25 -0400
From: Steven Rostedt <rostedt@...dmis.org>
To: "libaokun (A)" <libaokun1@...wei.com>
Cc: <mingo@...hat.com>, <linux-kernel@...r.kernel.org>,
<weiyongjun1@...wei.com>, <yuehaibing@...wei.com>,
<yangjihong1@...wei.com>, <yukuai3@...wei.com>
Subject: Re: [PATCH -next] tracing: Remove set but not used variable 'ret'
On Tue, 15 Jun 2021 09:59:10 +0800
"libaokun (A)" <libaokun1@...wei.com> wrote:
> ping
>
> 在 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.
Which was a bug.
> >
> > Signed-off-by: Baokun Li <libaokun1@...wei.com>
>
This was fixed differently:
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=6c610dba6e2beb1a16ac309672181d0090fb8d30
-- Steve
Powered by blists - more mailing lists