Re: [PATCH] mtd: rawnand: remove unused is_imx51_nfc and imx53_nfc functions

From: Miquel Raynal
Date: Wed Mar 22 2023 - 12:09:04 EST


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@xxxxxxxxxx>

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.

Miquel