diff options
author | Wan Jiabing <wanjiabing@vivo.com> | 2021-04-27 06:42:19 +0200 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2021-05-10 15:27:33 +0200 |
commit | 726c945ab2ebd104631b6105ab455a5bc604a3f1 (patch) | |
tree | d45ad08dd8a5cce0f1dbb6e51a1464835c0d7ae5 /drivers/hwmon | |
parent | Linux 5.13-rc1 (diff) | |
download | linux-726c945ab2ebd104631b6105ab455a5bc604a3f1.tar.xz linux-726c945ab2ebd104631b6105ab455a5bc604a3f1.zip |
hwmon: (corsair-psu) Remove unneeded semicolons
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>
Link: https://lore.kernel.org/r/20210427044219.7799-1-wanjiabing@vivo.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon')
-rw-r--r-- | drivers/hwmon/corsair-psu.c | 4 |
1 files 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; } |