Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id BDEE2C43219 for ; Wed, 24 Nov 2021 02:02:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239937AbhKXCFb (ORCPT ); Tue, 23 Nov 2021 21:05:31 -0500 Received: from out30-43.freemail.mail.aliyun.com ([115.124.30.43]:47488 "EHLO out30-43.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229675AbhKXCFa (ORCPT ); Tue, 23 Nov 2021 21:05:30 -0500 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R171e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e01424;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=7;SR=0;TI=SMTPD_---0Uy0pPD5_1637719337; Received: from j63c13417.sqa.eu95.tbsite.net(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0Uy0pPD5_1637719337) by smtp.aliyun-inc.com(127.0.0.1); Wed, 24 Nov 2021 10:02:18 +0800 From: Yang Li To: corentin.chary@gmail.com Cc: hdegoede@redhat.com, markgross@kernel.org, acpi4asus-user@lists.sourceforge.net, platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org, Yang Li Subject: [PATCH -next] asus-wmi: remove unneeded semicolon Date: Wed, 24 Nov 2021 10:02:12 +0800 Message-Id: <1637719332-45224-1-git-send-email-yang.lee@linux.alibaba.com> X-Mailer: git-send-email 1.8.3.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Eliminate the following coccicheck warning: ./drivers/platform/x86/asus-wmi.c:2386:2-3: Unneeded semicolon Reported-by: Abaci Robot Signed-off-by: Yang Li --- drivers/platform/x86/asus-wmi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/platform/x86/asus-wmi.c b/drivers/platform/x86/asus-wmi.c index ab0c087..6fa4b0b 100644 --- a/drivers/platform/x86/asus-wmi.c +++ b/drivers/platform/x86/asus-wmi.c @@ -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); -- 1.8.3.1