Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp4190301pxy; Mon, 26 Apr 2021 21:45:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyJlVq5LxFe85QdgBzeTJ3TA0XeSGVi6RR4va89rwINcG5qbWywDBz++zscLHOdJfjSNdJ9 X-Received: by 2002:a65:6282:: with SMTP id f2mr19803320pgv.289.1619498727506; Mon, 26 Apr 2021 21:45:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619498727; cv=none; d=google.com; s=arc-20160816; b=z3dRmsNBt7lnm80160v8u+6ns6llXqRDh/AHIEDVKgobM5CI2h5cocA2PMhWAi0wGw I1vSOQP9DhtC2M5xCFwXVME66gESbtsKOH0amdg+3K02ZHrRIU4BtvtUyeLv0QVE7b/T qcT2dvSjb92MyDf5czb2Mm75ZJGwt39btOxrk7aGFpiS3wHBwmMj/DvFuMFh+3SNJudf epiWHgLY09hX7dHUh70K3L6kTc2Ltl1E9LfBR8TbvvwHY/MGN41nMVo36MnZJr02XfOJ +nn/FxgF27M+OyzwDPrONhWSMUEq2BjaKzt6H37slA2yfDEqJFByf+k2sb5oelCgzJ7j vYRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=LaLMKsjd/rYgEZI5PEh8rWAhX/l6DxBk984f56ONyuo=; b=Y9iGLzLellpsxhyfFB6skouNQmN3uPWGpue0YGPCRhlNUTSxdcsDSyLpLGzpv4RLNq cVAZn99MiM5ngYrpt9gbi1mTSUBRtYhBkjguGUqeEACDtTanlJfCr7UAAV+zDCBxwpjL 6y2NmeXOuvihZ89Gz9aJt/hpOvAGJrP171VQPdKEy43512q66tRgcU/58a7ZVPyFsM/K 6eEEBvzYZzpFFeKqla3lc5Wg99jnnAcF9xx6o4pjfjFIMbIwx8UVEnn91Lm7rev90spR usrc+FLrj7YauoKAgIbdU4FtpV9ugtEWdhV8fZvbcTwYugDxUYOYYAxtW6qduAXLgQwb 0GoQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=vivo.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x8si2031032pfa.15.2021.04.26.21.45.14; Mon, 26 Apr 2021 21:45:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=vivo.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230257AbhD0EnQ (ORCPT + 99 others); Tue, 27 Apr 2021 00:43:16 -0400 Received: from mail-m121145.qiye.163.com ([115.236.121.145]:11316 "EHLO mail-m121145.qiye.163.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229535AbhD0EnQ (ORCPT ); Tue, 27 Apr 2021 00:43:16 -0400 Received: from wanjb-virtual-machine.localdomain (unknown [36.152.145.182]) by mail-m121145.qiye.163.com (Hmail) with ESMTPA id 99AA58001ED; Tue, 27 Apr 2021 12:42:31 +0800 (CST) From: Wan Jiabing To: Wilken Gottwalt , Jean Delvare , Guenter Roeck , linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org Cc: kael_w@yeah.net, Wan Jiabing Subject: [PATCH] hwmon: Remove unneeded semicolons Date: Tue, 27 Apr 2021 12:42:19 +0800 Message-Id: <20210427044219.7799-1-wanjiabing@vivo.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-HM-Spam-Status: e1kfGhgUHx5ZQUtXWQgYFAkeWUFZS1VLWVdZKFlBSE83V1ktWUFJV1kPCR oVCBIfWUFZQxhMSlZCHh4YQx0dGEkdTElVEwETFhoSFyQUDg9ZV1kWGg8SFR0UWUFZT0tIVUpKS0 hKTFVLWQY+ X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6MQg6URw4KT8XKFZDDD8LKj0e OhdPCU9VSlVKTUpCT0JDTk5JSk5CVTMWGhIXVQwaFRESGhkSFRw7DRINFFUYFBZFWVdZEgtZQVlI TVVKTklVSk9OVUpDSVlXWQgBWUFKQ0lINwY+ X-HM-Tid: 0a7911a2c9e1b03akuuu99aa58001ed Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix the following coccicheck warning: ./drivers/hwmon/corsair-psu.c:379:2-3: Unneeded semicolon Remove unneeded semicolons. Signed-off-by: Wan Jiabing --- drivers/hwmon/corsair-psu.c | 4 ++-- 1 file 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; } -- 2.25.1