Re: [PATCH -next] tools lib traceevent: Remove unneeded semicolon
From: Arnaldo Carvalho de Melo
Date: Tue Apr 28 2020 - 13:47:38 EST
Em Tue, Apr 28, 2020 at 09:19:15AM -0400, Steven Rostedt escreveu:
> On Tue, 28 Apr 2020 17:12:01 +0800
> Zou Wei <zou_wei@xxxxxxxxxx> wrote:
>
> > Fixes coccicheck warning:
> >
> > tools/lib/traceevent/kbuffer-parse.c:441:2-3: Unneeded semicolon
> >
> > Reported-by: Hulk Robot <hulkci@xxxxxxxxxx>
> > Signed-off-by: Zou Wei <zou_wei@xxxxxxxxxx>
> > ---
> > tools/lib/traceevent/kbuffer-parse.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/tools/lib/traceevent/kbuffer-parse.c b/tools/lib/traceevent/kbuffer-parse.c
> > index b887e74..27f3b07 100644
> > --- a/tools/lib/traceevent/kbuffer-parse.c
> > +++ b/tools/lib/traceevent/kbuffer-parse.c
> > @@ -438,7 +438,7 @@ void *kbuffer_translate_data(int swap, void *data, unsigned int *size)
> > case KBUFFER_TYPE_TIME_EXTEND:
> > case KBUFFER_TYPE_TIME_STAMP:
> > return NULL;
> > - };
> > + }
>
> Acked-by: Steven Rostedt (VMware) <rostedt@xxxxxxxxxxx>
>
> Arnaldo, can you take this?
Sure, applied.
> Thanks!
>
> -- Steve
>
> >
> > *size = length;
> >