Re: [PATCH -next] tools lib traceevent: Remove unneeded semicolon

From: Steven Rostedt
Date: Tue Apr 28 2020 - 09:19:21 EST


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?

Thanks!

-- Steve

>
> *size = length;
>