MTD_DEBUG was only used by the i.MX Nand driver and is now unused. Remove the mtd specific debug defines. Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> --- include/linux/mtd/mtd.h | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/include/linux/mtd/mtd.h b/include/linux/mtd/mtd.h index 421a941..5ff09c0 100644 --- a/include/linux/mtd/mtd.h +++ b/include/linux/mtd/mtd.h @@ -311,25 +311,6 @@ int mtd_block_markbad(struct mtd_info *mtd, loff_t ofs); int mtd_all_ff(const void *buf, unsigned int len); -/* - * Debugging macro and defines - */ -#define MTD_DEBUG_LEVEL0 (0) /* Quiet */ -#define MTD_DEBUG_LEVEL1 (1) /* Audible */ -#define MTD_DEBUG_LEVEL2 (2) /* Loud */ -#define MTD_DEBUG_LEVEL3 (3) /* Noisy */ - -#ifdef CONFIG_MTD_DEBUG -#define MTD_DEBUG(n, args...) \ - do { \ - if (n <= CONFIG_MTD_DEBUG_VERBOSE) \ - pr_info( args); \ - } while(0) -#else /* CONFIG_MTD_DEBUG */ -#define MTD_DEBUG(n, args...) do { } while(0) - -#endif /* CONFIG_MTD_DEBUG */ - static inline int mtd_is_bitflip(int err) { return err == -EUCLEAN; } -- 2.7.0 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox