[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ff4437bb-5285-5bf5-8c87-757dd07e51ef@huawei.com>
Date: Wed, 16 Jun 2021 09:11:04 +0800
From: "libaokun (A)" <libaokun1@...wei.com>
To: Steven Rostedt <rostedt@...dmis.org>
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'
Thank you for your reminder.
Best Regards.
在 2021/6/15 23:39, Steven Rostedt 写道:
> 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