diff options
author | Jiapeng Chong <jiapeng.chong@linux.alibaba.com> | 2023-03-09 14:10:45 +0800 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2023-03-16 15:35:02 +0100 |
commit | 8496bacae643018a2e24f76aa22426c4b9264933 (patch) | |
tree | 575387603c742ab1941c40b058fce3cb783f385a /drivers/platform/x86/acerhdf.c | |
parent | 91576acab0203062b93a578a7d05c8fe9e527f80 (diff) |
platform/x86: acerhdf: Remove unneeded semicolon
Fix the following warning:
./drivers/platform/x86/acerhdf.c:343:2-3: Unneeded semicolon.
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2271
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Link: https://lore.kernel.org/r/20230309061045.25256-1-jiapeng.chong@linux.alibaba.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'drivers/platform/x86/acerhdf.c')
-rw-r--r-- | drivers/platform/x86/acerhdf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/acerhdf.c b/drivers/platform/x86/acerhdf.c index a48638ad2a8a..ec8cc780b822 100644 --- a/drivers/platform/x86/acerhdf.c +++ b/drivers/platform/x86/acerhdf.c @@ -341,7 +341,7 @@ static void acerhdf_check_param(struct thermal_zone_device *thermal) pr_err("fanoff temperature (%d) is above fanon temperature (%d), clamping to %d\n", fanoff, fanon, fanon); fanoff = fanon; - }; + } trips[0].temperature = fanon; trips[0].hysteresis = fanon - fanoff; |