Skip to content

Commit

Permalink
hwmon: (corsair-psu) Remove unneeded semicolons
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Wan Jiabing authored and Guenter Roeck committed May 10, 2021
1 parent 6efb943 commit 726c945
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/hwmon/corsair-psu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -376,7 +376,7 @@ static umode_t corsairpsu_hwmon_in_is_visible(const struct corsairpsu_data *priv
break;
default:
break;
};
}

return res;
}
Expand Down

0 comments on commit 726c945

Please sign in to comment.