2022-07-18 13:01:19

by Xin Gao

[permalink] [raw]
Subject: [PATCH] tools/power/x86/intel-speed-select:Unneeded semicolon

Unneeded semicolon

Signed-off-by: Xin Gao <[email protected]>
---
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 761375062505..f0ed69721308 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;
}
--
2.30.2


2022-07-18 15:45:11

by srinivas pandruvada

[permalink] [raw]
Subject: Re: [PATCH] tools/power/x86/intel-speed-select:Unneeded semicolon

On Mon, 2022-07-18 at 20:49 +0800, Xin Gao wrote:
> Unneeded semicolon
>
> Signed-off-by: Xin Gao <[email protected]>
Thanks, I will add to PULL request.

> ---
>  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 761375062505..f0ed69721308 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;
>  }