]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - fs/ubifs/debug.h
mtd: remove MTDDEBUG() and CONFIG_MTD_DEBUG
[people/ms/u-boot.git] / fs / ubifs / debug.h
index 807ce1b7338033dded1ffc68c45eb0d7e53957a2..98140834f9db86b11112220bfbfbf400a36e606a 100644 (file)
@@ -187,19 +187,12 @@ struct ubifs_global_debug_info {
                 ##__VA_ARGS__)
 
 #define DBG_KEY_BUF_LEN 48
-#if defined CONFIG_MTD_DEBUG
 #define ubifs_dbg_msg_key(type, key, fmt, ...) do {                            \
        char __tmp_key_buf[DBG_KEY_BUF_LEN];                                   \
        pr_debug("UBIFS DBG " type ": " fmt "%s\n",                            \
                 ##__VA_ARGS__,                                                \
                 dbg_snprintf_key(c, key, __tmp_key_buf, DBG_KEY_BUF_LEN));    \
 } while (0)
-#else
-#define ubifs_dbg_msg_key(type, key, fmt, ...) do {                            \
-       pr_debug("UBIFS DBG\n");                                               \
-} while (0)
-
-#endif
 
 #endif