Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp6326137rwl; Wed, 22 Mar 2023 09:10:29 -0700 (PDT) X-Google-Smtp-Source: AK7set9HmKzD2YuPb0jCTq3KvBIulhzAFmpTqf1bGNckCpXVn3IKm3k6RMfPJSNHU0nyMZlXpkPL X-Received: by 2002:a17:907:118b:b0:939:c395:1b3 with SMTP id uz11-20020a170907118b00b00939c39501b3mr7540293ejb.31.1679501429619; Wed, 22 Mar 2023 09:10:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679501429; cv=none; d=google.com; s=arc-20160816; b=HIfOJXKs1bjypVAqf77JZuET6ytClOgHJgSaSwniTxLAMXRkAFfpyVRfMxedTa2Ok2 4HHQlI2jJykIDLJ4EccQ0UQCHr9bzucovIEUDCHebOmnlidsMOCbWtCI6+1ozHFobzxh C9mT2TCAsL+5L/2H0xKIRoEyb0vLoB8D7ftcpUcmlRndaPCZwrqUsZkgxvYPqL+9Mti/ qfXMWr21Vlqlq88BLKLJ3pu+VQdvM4iYve+BOsPR0GZmn/C7giGqiNnUUncSKXyAGF6X +Y/1V9sDtnX2IG4xvGzL/ZYqdYdKlFBCWzX37FE4Oew5QTa5mFRjQuZMh9+/G27Fg96h fEbQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=+PSmnxBcZaUN7gsWHWZ45hdp2vXlK1DT4al4TDhvtl0=; b=bt/g3DtRcuD6J/8E3PRi8Az+BoKmRQZDn6x92dSHPuIxbai3KPlAz+E0s81g+SWnC0 KMHGauk0GPVk7SrwMgsvgcLu39OugLd/B39LDnGUjBV2o0mNB2KHEJ5tZGDjqZF9eIG/ 2Bd60DYCh8r4GW2uDVrpC8OmFoZQuFRkXFqt2/68PFf08jbIR0298NHtwZWif8yHG5zT R6uG0F/2+y81F9tVbleK2Th8QrDeW4glZKIplgBdLZLSnKWA18RYO7clX8HJoVcvZSnn d4pKDgJx4OzAxfLGukOBmPbhgsxZFTgQm5s7sV6CBna+G0zkJYagJHwjScORYRbXTZ+Q 6w9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=Vcy9+zDU; 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 sg13-20020a170907a40d00b009334637f8a5si15029819ejc.125.2023.03.22.09.10.04; Wed, 22 Mar 2023 09:10:29 -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=Vcy9+zDU; 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 S230421AbjCVQJC (ORCPT + 99 others); Wed, 22 Mar 2023 12:09:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49696 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230419AbjCVQIx (ORCPT ); Wed, 22 Mar 2023 12:08:53 -0400 Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [217.70.183.201]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 139365BCBE for ; Wed, 22 Mar 2023 09:08:42 -0700 (PDT) Received: (Authenticated sender: miquel.raynal@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id CF9061BF20D; Wed, 22 Mar 2023 16:08:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1679501320; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+PSmnxBcZaUN7gsWHWZ45hdp2vXlK1DT4al4TDhvtl0=; b=Vcy9+zDUUhG2rn8iTHsAKvO4V15dpsX94dRn8OkrHPjFyLXe6ywWgPbEPvusnyMYH83Q97 tCQOmTrZ1QcXbh3HZjJ4zYRu4tyyvNoZL2WRA95hzgT+EaIOdLuxFDbjOS+TMApsc79d1E Jw0delv/2t3kli1J9Z18PCMXo2myl74EE/QERYaiKu2MWG3XEM9lSOy/Bc4PpynWLKSECi UC7w0ZxbhROnrZGgnMiOlnxjBn/Ub8+UbKPPNq3V+tyw4q/M4Z+W7vbR3UVmY4DN2gdKCl 515mFRhlCtFGdgLnoHWcwXtvJGgMnYLVbVO9KbQ/z+wJMGPZFfg3Y8Gu/ZcwZw== From: Miquel Raynal To: Tom Rix , miquel.raynal@bootlin.com, richard@nod.at, vigneshr@ti.com, nathan@kernel.org, ndesaulniers@google.com Cc: linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev Subject: Re: [PATCH] mtd: rawnand: remove unused is_imx51_nfc and imx53_nfc functions Date: Wed, 22 Mar 2023 17:08:38 +0100 Message-Id: <20230322160838.2232894-1-miquel.raynal@bootlin.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230321114638.1782086-1-trix@redhat.com> References: MIME-Version: 1.0 X-linux-mtd-patch-notification: thanks X-linux-mtd-patch-commit: b'cb70cf99abae487941bbb5d3661653c02a5103cc' Content-Transfer-Encoding: 8bit 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,RCVD_IN_MSPIKE_H2, 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 On Tue, 2023-03-21 at 11:46:38 UTC, Tom Rix wrote: > clang with W=1 reports > drivers/mtd/nand/raw/mxc_nand.c:1602:19: error: unused function > 'is_imx51_nfc' [-Werror,-Wunused-function] > static inline int is_imx51_nfc(struct mxc_nand_host *host) > ^ > drivers/mtd/nand/raw/mxc_nand.c:1607:19: error: unused function > 'is_imx53_nfc' [-Werror,-Wunused-function] > static inline int is_imx53_nfc(struct mxc_nand_host *host) > ^ > These functions are not used, so remove them. > > Signed-off-by: Tom Rix Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks. Miquel