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

Miquel Raynal miquel.raynal at bootlin.com
Wed Mar 22 09:08:38 PDT 2023

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 at redhat.com>

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


More information about the linux-mtd mailing list