mtd: rawnand: remove unused is_imx51_nfc and imx53_nfc functions
authorTom Rix <trix@redhat.com>
Tue, 21 Mar 2023 11:46:38 +0000 (07:46 -0400)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Wed, 22 Mar 2023 16:05:51 +0000 (17:05 +0100)
commitcb70cf99abae487941bbb5d3661653c02a5103cc
treedebbd542038159a14ceef7e5a837544fc9b28d90
parent7c09abba58cf912fa417be8720cff00df12354aa
mtd: rawnand: remove unused is_imx51_nfc and imx53_nfc functions

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@redhat.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20230321114638.1782086-1-trix@redhat.com
drivers/mtd/nand/raw/mxc_nand.c