Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp585540pxb; Tue, 15 Feb 2022 22:56:46 -0800 (PST) X-Google-Smtp-Source: ABdhPJy63a8LVAhoGiYHWPdEiu6chPSVK7qt2+VApJXip4lmom9E4cbXBRWcgYHQ+mYZ/+5cjBFl X-Received: by 2002:a63:81c1:0:b0:342:34d3:28a9 with SMTP id t184-20020a6381c1000000b0034234d328a9mr1132676pgd.169.1644994606400; Tue, 15 Feb 2022 22:56:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644994606; cv=none; d=google.com; s=arc-20160816; b=IDhgP1prlyDqmjGpg5o/sdFwd1A4NQrsNSJiK6Yq/b+oqkSe9Stu6QtyggXIsNULiI AM0ovIiJ8KXTNEPfFp7kId+X71gVcHXXwKHI0/Dsz6H8Ry1b/jLSbAYXv6bVys7dH0iM JeK1q5QMXr7qQIH+kO7E/7OKMbMWHMAkf1mjXBVrmJ26B1avj4OS4ZxrTgjngc4Z+BXA uviO2uGWPInI6n2LS7armaAbZZnTcUMpXzH2U6feWuS2lxMy6obqgc2I2wvKc8dhk+/C hT2EA4+1IyVx3OPQNoP9kNQj12zUKdPSKYy3Macn/H07S2XcH3ENKONbuSRcdZRIICbk lVrg== 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=KLHYLAXzMdz/Avuk8OQ4LNPchtKgaD3XYplewZlx6pE=; b=ad3H5nfcXmBUIwBkLGVnb7q8hyVJRUM3zwk/c/UOQ3wXyebIFkBZ8SyA4lmNyvfZXY 0MdSp+KYn3OofLbk7BS9zuo4F8Q1UwprGxgv8a4hNSPlj6TuUsHpADAohGw2ubCYjNkL roPl0zEZWF7ZG73BYvXeb626x1sTHRgTozZPPmndV0ZQfaGSYw8tf25Rv+s7ifvga/ow uRWCJrvtf79bM8JefiAEgj7EVerlGWB9duSmh1R2vM4qjlw2MiUEHNVSPRuABnj1AyNZ tr8/8umf6Fxs9yWUpNra5bGoKta+ovifprhSzINwnuJGqXtTRDMn0+p1C1eyHgwJ1Jps BEFQ== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id t145si4695038pgb.833.2022.02.15.22.56.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Feb 2022 22:56:46 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id E0A4E2297E5; Tue, 15 Feb 2022 22:39:03 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343587AbiBPBvS (ORCPT + 99 others); Tue, 15 Feb 2022 20:51:18 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:45992 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343509AbiBPBu6 (ORCPT ); Tue, 15 Feb 2022 20:50:58 -0500 Received: from out30-130.freemail.mail.aliyun.com (out30-130.freemail.mail.aliyun.com [115.124.30.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 229D8FABC5; Tue, 15 Feb 2022 17:50:46 -0800 (PST) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R431e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04423;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=6;SR=0;TI=SMTPD_---0V4aiK1Z_1644976244; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0V4aiK1Z_1644976244) by smtp.aliyun-inc.com(127.0.0.1); Wed, 16 Feb 2022 09:50:44 +0800 From: Yang Li To: jikos@kernel.org Cc: benjamin.tissoires@redhat.com, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, Yang Li , Abaci Robot Subject: [PATCH -next] HID: i2c-hid: remove unneeded semicolon Date: Wed, 16 Feb 2022 09:50:42 +0800 Message-Id: <20220216015042.113021-1-yang.lee@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Eliminate the following coccicheck warning: ./drivers/hid/i2c-hid/i2c-hid-core.c:357:56-57: Unneeded semicolon Reported-by: Abaci Robot Signed-off-by: Yang Li --- drivers/hid/i2c-hid/i2c-hid-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hid/i2c-hid/i2c-hid-core.c b/drivers/hid/i2c-hid/i2c-hid-core.c index 91b2fa0d33c7..c078f09a2318 100644 --- a/drivers/hid/i2c-hid/i2c-hid-core.c +++ b/drivers/hid/i2c-hid/i2c-hid-core.c @@ -354,7 +354,7 @@ static int i2c_hid_set_or_send_report(struct i2c_hid *ihid, * With simple "send report" all data goes into the output * register. */ - *(__le16 *)ihid->cmdbuf = ihid->hdesc.wOutputRegister;; + *(__le16 *)ihid->cmdbuf = ihid->hdesc.wOutputRegister; length += sizeof(__le16); } -- 2.20.1.7.g153144c