]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mtd: nand: denali: remove bogus __maybe_unused
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 29 Nov 2017 10:18:18 +0000 (19:18 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 4 Dec 2017 12:59:53 +0000 (21:59 +0900)
denali_setup_data_interface() is always used.

I put __maybe_unused for a temporal use, then forgot to delete it.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
drivers/mtd/nand/denali.c

index b116d3a17c4eb28f24513a6229e9e6b2bfe218e7..7a87adc378ebe3e7f2d9b47b1fdf68bbee41b1fb 100644 (file)
@@ -938,7 +938,7 @@ static int denali_erase(struct mtd_info *mtd, int page)
        return irq_status & INTR__ERASE_COMP ? 0 : NAND_STATUS_FAIL;
 }
 
-static int __maybe_unused denali_setup_data_interface(struct mtd_info *mtd, int chipnr,
+static int denali_setup_data_interface(struct mtd_info *mtd, int chipnr,
                                       const struct nand_data_interface *conf)
 {
        struct denali_nand_info *denali = mtd_to_denali(mtd);