lkml.org 
[lkml]   [2021]   [Apr]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] hwmon: Remove unneeded semicolons
Hi,

On Tue, Apr 27, 2021 at 12:42:19PM +0800, Wan Jiabing wrote:
> Fix the following coccicheck warning:
>
> ./drivers/hwmon/corsair-psu.c:379:2-3: Unneeded semicolon
>
> Remove unneeded semicolons.
>
> Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>

Thanks a lot for your patch; applied.

In the future, please add the affected driver to the subject line, as in

hwmon: (corsair-psu) ...

Thanks,
Guenter

> ---
> drivers/hwmon/corsair-psu.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/hwmon/corsair-psu.c b/drivers/hwmon/corsair-psu.c
> index 3a5807e4a2ef..02298b86b57b 100644
> --- a/drivers/hwmon/corsair-psu.c
> +++ b/drivers/hwmon/corsair-psu.c
> @@ -355,7 +355,7 @@ static umode_t corsairpsu_hwmon_power_is_visible(const struct corsairpsu_data *p
> return 0444;
> default:
> return 0;
> - };
> + }
> }
>
> static umode_t corsairpsu_hwmon_in_is_visible(const struct corsairpsu_data *priv, u32 attr,
> @@ -376,7 +376,7 @@ static umode_t corsairpsu_hwmon_in_is_visible(const struct corsairpsu_data *priv
> break;
> default:
> break;
> - };
> + }
>
> return res;
> }
> --
> 2.25.1
>

\
 
 \ /
  Last update: 2021-04-27 16:49    [W:0.037 / U:2.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site