Message ID | 20230802092342.970476-1-lizetao1@huawei.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9f41:0:b0:3e4:2afc:c1 with SMTP id v1csp334229vqx; Wed, 2 Aug 2023 02:47:54 -0700 (PDT) X-Google-Smtp-Source: APBJJlFUUtA67oZOlT5ptiCN0nyGy0yoA5B2WMtyQWOcMmckMJObh0fRGmZ7cr6K8XwGLQU7BNl2 X-Received: by 2002:a17:907:2c77:b0:992:48b7:99e3 with SMTP id ib23-20020a1709072c7700b0099248b799e3mr4489813ejc.63.1690969674235; Wed, 02 Aug 2023 02:47:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690969674; cv=none; d=google.com; s=arc-20160816; b=wSf1I1aB0PkTEPsLiZVPAayB8ESNtD8bQNegtQijhPuRGUptounkOyUGIpLREgLmA1 YXkKOI8W0dfHLwHr5jEpc2pnAeJJGFjBP17zxxlOBcyPqOAmn2ZjALqB332eqD7mXcI1 0pbQp3bhFEItBRm7yim1XuEJmd4OEw4n149OaxlKhLGY+adkmpPphmHBTxjLirD55cnL 7F9QkzSiAsJEd5cXsA2EBWhRQIQNK4XMzn3SZrurT0qjzgGq9bG54ZjN+peEe0/jM84b LrsQ70WHugUh704c3wzn6UoZi2cdnWCWGW5rtCi2+j7rtbf2DhktsZZkZs0uP3NsDaDs P9Sw== 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=D1Cgx5K1ehIWpWG7ulQ+OvFFMSVX7CsO/J1+aOuOkmo=; fh=1hpVU2uMey/+sn6SN8U4W4dwjzT++Cag8hSFWB8eaVg=; b=K+Rf+xw8p8CISLL3UpEQwAOCVTCdmNACLc90OoCfE+FPdEgS7FPrBI3lJkf9hrZbpC ygfZDm4QbhSNf78q6NcPv9yBQR8yNAXD/GIqnvgGzTtfIUfX7WNEefoIYh05ib1Xfx73 Jfb06sOBzZX6vofUgLSYMBpP95cyI+YKTdvLlj8rPWW7O8bUAVW07rK+7SzXs3ObHLv/ zn1lgGmajHEPojQUJF+oZqhxAcIPqjthq9/PjM7LpFpZtER/LBQNfDXBfvaOlPz4vTTI VFHrEpN8CbY/hU4/hxNZp2gi6Cx9BruWoqm3h5fI0upbKGtvGwlpyW1SR+XBFGNqV2nI 85Tw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p26-20020a170906839a00b00992e90ca00dsi9715890ejx.16.2023.08.02.02.47.30; Wed, 02 Aug 2023 02:47:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233780AbjHBJYS (ORCPT <rfc822;maxi.paulin@gmail.com> + 99 others); Wed, 2 Aug 2023 05:24:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40168 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234031AbjHBJYQ (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 2 Aug 2023 05:24:16 -0400 Received: from szxga08-in.huawei.com (szxga08-in.huawei.com [45.249.212.255]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2C4801716 for <linux-kernel@vger.kernel.org>; Wed, 2 Aug 2023 02:24:15 -0700 (PDT) Received: from kwepemi500012.china.huawei.com (unknown [172.30.72.57]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4RG6320rJhz1GDSK; Wed, 2 Aug 2023 17:23:10 +0800 (CST) Received: from huawei.com (10.90.53.73) by kwepemi500012.china.huawei.com (7.221.188.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Wed, 2 Aug 2023 17:24:11 +0800 From: Li Zetao <lizetao1@huawei.com> To: <lee@kernel.org> CC: <lizetao1@huawei.com>, <bot@kernelci.org>, <linux-kernel@vger.kernel.org> Subject: [PATCH -next] mfd: ipaq-micro: Remove unused variable i in micro_rx_msg() Date: Wed, 2 Aug 2023 17:23:42 +0800 Message-ID: <20230802092342.970476-1-lizetao1@huawei.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.90.53.73] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To kwepemi500012.china.huawei.com (7.221.188.12) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1773110216864916910 X-GMAIL-MSGID: 1773110216864916910 |
Series |
[-next] mfd: ipaq-micro: Remove unused variable i in micro_rx_msg()
|
|
Commit Message
Li Zetao
Aug. 2, 2023, 9:23 a.m. UTC
After the commit "92d82d76c84", the variable i is unused. Remove it
to silence the warning.
Reported-by: kernelci.org bot <bot@kernelci.org>
Closes: https://lore.kernel.org/all/64c8aeac.170a0220.e3234.2745@mx.google.com/
Signed-off-by: Li Zetao <lizetao1@huawei.com>
---
drivers/mfd/ipaq-micro.c | 2 --
1 file changed, 2 deletions(-)
Comments
On Wed, 02 Aug 2023, Li Zetao wrote: > After the commit "92d82d76c84", the variable i is unused. Remove it Please use the format: <short_sha> ("<subject>") when referencing commits. > to silence the warning. If you're referring to a warning, please paste it here. > Reported-by: kernelci.org bot <bot@kernelci.org> > Closes: https://lore.kernel.org/all/64c8aeac.170a0220.e3234.2745@mx.google.com/ > Signed-off-by: Li Zetao <lizetao1@huawei.com> > --- > drivers/mfd/ipaq-micro.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/drivers/mfd/ipaq-micro.c b/drivers/mfd/ipaq-micro.c > index cddfd2e808f2..c964ea6539aa 100644 > --- a/drivers/mfd/ipaq-micro.c > +++ b/drivers/mfd/ipaq-micro.c > @@ -78,8 +78,6 @@ EXPORT_SYMBOL(ipaq_micro_tx_msg); > > static void micro_rx_msg(struct ipaq_micro *micro, u8 id, int len, u8 *data) > { > - int i; > - > dev_dbg(micro->dev, "RX msg: %02x, %d bytes\n", id, len); > > spin_lock(µ->lock); > -- > 2.34.1 >
diff --git a/drivers/mfd/ipaq-micro.c b/drivers/mfd/ipaq-micro.c index cddfd2e808f2..c964ea6539aa 100644 --- a/drivers/mfd/ipaq-micro.c +++ b/drivers/mfd/ipaq-micro.c @@ -78,8 +78,6 @@ EXPORT_SYMBOL(ipaq_micro_tx_msg); static void micro_rx_msg(struct ipaq_micro *micro, u8 id, int len, u8 *data) { - int i; - dev_dbg(micro->dev, "RX msg: %02x, %d bytes\n", id, len); spin_lock(µ->lock);