Re: [PATCH] tools/power/x86/intel-speed-select: Remove unneeded semicolon
From: Hans de Goede
Date: Thu Feb 24 2022 - 10:29:27 EST
Rafael,
On 2/23/22 10:36, cgel.zte@xxxxxxxxx wrote:
> From: Changcheng Deng <deng.changcheng@xxxxxxxxxx>
>
> Fix the following coccicheck review:
> tools/power/x86/intel-speed-select/hfi-events.c: 147: Unneeded semicolon
>
> Reported-by: Zeal Robot <zealci@xxxxxxxxxx>
> Signed-off-by: Changcheng Deng <deng.changcheng@xxxxxxxxxx>
Can you add this to your thermal-hfi branch please?
Regards,
Hans
> ---
> tools/power/x86/intel-speed-select/hfi-events.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tools/power/x86/intel-speed-select/hfi-events.c b/tools/power/x86/intel-speed-select/hfi-events.c
> index e85676711372..2f871c108236 100644
> --- a/tools/power/x86/intel-speed-select/hfi-events.c
> +++ b/tools/power/x86/intel-speed-select/hfi-events.c
> @@ -144,7 +144,7 @@ static int family_handler(struct nl_msg *msg, void *arg)
> continue;
> res->id = nla_get_u32(tb2[CTRL_ATTR_MCAST_GRP_ID]);
> break;
> - };
> + }
>
> return 0;
> }