[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAM_iQpVUZ2Hbk2=sJbjJ2gL9WHRFPGWwhYhSQAFFpRyjdgCYOw@mail.gmail.com>
Date: Sat, 7 Dec 2019 11:02:13 -0800
From: Cong Wang <xiyou.wangcong@...il.com>
To: YueHaibing <yuehaibing@...wei.com>
Cc: Steven Rostedt <rostedt@...dmis.org>,
Ingo Molnar <mingo@...hat.com>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH -next] tracing: remove set but not used variable 'buffer'
On Fri, Dec 6, 2019 at 7:46 PM YueHaibing <yuehaibing@...wei.com> wrote:
>
> kernel/trace/trace_events_inject.c: In function trace_inject_entry:
> kernel/trace/trace_events_inject.c:20:22: warning: variable buffer set but not used [-Wunused-but-set-variable]
>
> It is never used, so remove it.
>
> Reported-by: Hulk Robot <hulkci@...wei.com>
> Signed-off-by: YueHaibing <yuehaibing@...wei.com>
Right, this should be a leftover after I removed ring_buffer_nest_start().
And my compiler failed to catch this.
Acked-by: Cong Wang <xiyou.wangcong@...il.com>
Thanks.
Powered by blists - more mailing lists