[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20230322160838.2232894-1-miquel.raynal@bootlin.com>
Date: Wed, 22 Mar 2023 17:08:38 +0100
From: Miquel Raynal <miquel.raynal@...tlin.com>
To: Tom Rix <trix@...hat.com>, miquel.raynal@...tlin.com,
richard@....at, vigneshr@...com, nathan@...nel.org,
ndesaulniers@...gle.com
Cc: linux-mtd@...ts.infradead.org, linux-kernel@...r.kernel.org,
llvm@...ts.linux.dev
Subject: Re: [PATCH] mtd: rawnand: remove unused is_imx51_nfc and imx53_nfc functions
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 <trix@...hat.com>
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.
Miquel
Powered by blists - more mailing lists