Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp6237994rwl; Wed, 22 Mar 2023 08:08:39 -0700 (PDT) X-Google-Smtp-Source: AK7set8sxKG7mgw4/3e/ax2ktZ5yfbsCoww/bVA+IabiJE9WkjDZXiIdSzc3w99u/fktQ8O5ViHl X-Received: by 2002:a05:6a20:a8a0:b0:d3:a347:7db4 with SMTP id ca32-20020a056a20a8a000b000d3a3477db4mr5665053pzb.15.1679497719514; Wed, 22 Mar 2023 08:08:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679497719; cv=none; d=google.com; s=arc-20160816; b=Yp3g1W/LLTfQTEpU8IRgbo5oO4vuECatNSAQ4F0FkTUUrWUZT4HitdNssMnKnUvJYq 9DRYzeGZFvBwQmqj8lBMxbPcl6ziKA0MRiljHclA2+BUxaekBkxCbw0RXLtw9rKo9hx6 +PH7/2jxFuYdsR52sZbKIBtkzvok57tWgGwkN7cC1n+Tv2vqr6fBlSDaFXBxkH7v6nTV xXAMUNojxxZAayqfHrEMvjuvUEA7eac0GzLKx46wmNGQYYTxwQ7uxLLlBu3r9Q3P5hL2 fxnx3fJsrLkxuje49O0t6OzOhr7nlLqp26HPvUBTZQqSgYRXc2llMduZ7l0Ne8AYhHOA cliA== 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 :organization:references:in-reply-to:message-id:subject:cc:to:from :date:dkim-signature; bh=zFfA11oca0z60zNaQoo8l9bTRoSybNo1r8bX+dEwnH8=; b=qnM54DwK7uwbpCMgF8+BXflLIBAgfJ0S6yDfTJO/wipU7i+vtTseXvsULxLo2Dm7N+ dOC2kN6bRS9vuMcH7U1ciIBWYMO0cQPXqq6tGtu8UtYhVpIRIbYXRYRHa8urJwZq4OKG xGVmaQ9V9lXZG5MtmCDNG51ZcTXSkcqXhayg/kIqvjV4QoL8mO4PbJ7ruhcNeMPCrFBk FGr9EFBpyfYarw9p0Kao+fAo+NC7BgwWnJlt5tKVkqTa1tRFkiwocfiUXHHTeF/7ymJ4 OspXI9j1zI8fAals8P4gQuaQaiyW17XWx7vEoIIrEiiWKGgAL4nNF1ECleWwaEbBEnWu zGIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=BCbP6P97; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j185-20020a638bc2000000b0050fa8965a13si5277231pge.654.2023.03.22.08.08.27; Wed, 22 Mar 2023 08:08:39 -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; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=BCbP6P97; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229842AbjCVO4C (ORCPT + 99 others); Wed, 22 Mar 2023 10:56:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59494 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230233AbjCVOzt (ORCPT ); Wed, 22 Mar 2023 10:55:49 -0400 Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::225]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 61BA11B57E for ; Wed, 22 Mar 2023 07:55:13 -0700 (PDT) Received: (Authenticated sender: miquel.raynal@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id 2D5FE1C0006; Wed, 22 Mar 2023 14:55:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1679496911; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=zFfA11oca0z60zNaQoo8l9bTRoSybNo1r8bX+dEwnH8=; b=BCbP6P978hjPpmfP/HktMsFzWqr2cU0aBDRzuVx41Ae0cZRzjkyus4BSPwKrR6cYX5AqO8 gHoiybIdDDQ2ljSgvr9wgMX+RUZmHncu3eNxt92/OFb8eiKFnNpOzdDKkmR2tUm4dfYetq a+FI1WM/diBlWqWK4c+/909BZ1a9Sk1krU9Ll2J81yCZi9DTmXPtJI3DXFB1HfT4tvu9P/ X7Tv0VNktXp6L5UHUDLV8748FA4PNoJY9qqgHrOVWse7FOMzXhOG37LIqrb/oCddNt3wHl M4BY/dmkEoTDru7gq70xfNaedXdlIjEEdcp9XxGj3LZppZiHsgIa5IzLTSsgtw== Date: Wed, 22 Mar 2023 15:55:08 +0100 From: Miquel Raynal To: Jiapeng Chong Cc: richard@nod.at, vigneshr@ti.com, linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, Abaci Robot Subject: Re: [PATCH] mtd: rawnand: mxc: Remove the unused function is_imx51_nfc() Message-ID: <20230322155508.6f4acb80@xps-13> In-Reply-To: <20230317074041.115036-1-jiapeng.chong@linux.alibaba.com> References: <20230317074041.115036-1-jiapeng.chong@linux.alibaba.com> Organization: Bootlin X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=unavailable 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 Hi, jiapeng.chong@linux.alibaba.com wrote on Fri, 17 Mar 2023 15:40:41 +0800: > The function is_imx51_nfc is defined in the mxc_nand.c file, but not > called elsewhere, so remove this unused function. >=20 > drivers/mtd/nand/raw/mxc_nand.c:1602:19: warning: unused function 'is_imx= 51_nfc'. Thanks for your patch, but apparently is_imx53_nfc() is also unused, strange the robot did not pick this up. Anyway, no need to resend, I received another patch removing both functions already. >=20 > Reported-by: Abaci Robot > Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3D4559 > Signed-off-by: Jiapeng Chong > --- > drivers/mtd/nand/raw/mxc_nand.c | 5 ----- > 1 file changed, 5 deletions(-) >=20 > diff --git a/drivers/mtd/nand/raw/mxc_nand.c b/drivers/mtd/nand/raw/mxc_n= and.c > index f6c96341b896..16d795c25609 100644 > --- a/drivers/mtd/nand/raw/mxc_nand.c > +++ b/drivers/mtd/nand/raw/mxc_nand.c > @@ -1599,11 +1599,6 @@ static inline int is_imx25_nfc(struct mxc_nand_hos= t *host) > return host->devtype_data =3D=3D &imx25_nand_devtype_data; > } > =20 > -static inline int is_imx51_nfc(struct mxc_nand_host *host) > -{ > - return host->devtype_data =3D=3D &imx51_nand_devtype_data; > -} > - > static inline int is_imx53_nfc(struct mxc_nand_host *host) > { > return host->devtype_data =3D=3D &imx53_nand_devtype_data; Thanks, Miqu=C3=A8l