platform/x86: asus-wmi: remove unneeded semicolon
authorYang Li <yang.lee@linux.alibaba.com>
Wed, 24 Nov 2021 02:02:12 +0000 (10:02 +0800)
committerHans de Goede <hdegoede@redhat.com>
Thu, 2 Dec 2021 11:58:25 +0000 (12:58 +0100)
Eliminate the following coccicheck warning:
./drivers/platform/x86/asus-wmi.c:2386:2-3: Unneeded semicolon

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Link: https://lore.kernel.org/r/1637719332-45224-1-git-send-email-yang.lee@linux.alibaba.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/asus-wmi.c

index ab0c087d40cf89c7809ca1bc5cd0f68af17c0187..6fa4b0be8e76390d1d177e7471ef5171780fb645 100644 (file)
@@ -2383,7 +2383,7 @@ static ssize_t fan_curve_enable_store(struct device *dev,
                break;
        default:
                return -EINVAL;
-       };
+       }
 
        if (data->enabled) {
                err = fan_curve_write(asus, data);