diff options
Diffstat (limited to 'include/linux/mtd/mtd.h')
-rw-r--r-- | include/linux/mtd/mtd.h | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/include/linux/mtd/mtd.h b/include/linux/mtd/mtd.h index 421a941aad..5ff09c0472 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; } |