summaryrefslogtreecommitdiff
path: root/fs/erofs/internal.h
diff options
context:
space:
mode:
authorGao Xiang <hsiangkao@linux.alibaba.com>2023-04-14 16:30:26 +0800
committerGao Xiang <hsiangkao@linux.alibaba.com>2023-04-17 01:15:54 +0800
commit10656f9ca60ed85f4cfc06bcbe1f240ee310fa8c (patch)
treea75124e20175834ed5a79d96e5c8aed822f1bc1a /fs/erofs/internal.h
parent1b3567a1969b26f709d82a874498c0754ea841c3 (diff)
erofs: sunset erofs_dbg()
Such debug messages are rarely used now. Let's get rid of these, and revert locally if they are needed for debugging. Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com> Reviewed-by: Chao Yu <chao@kernel.org> Link: https://lore.kernel.org/r/20230414083027.12307-1-hsiangkao@linux.alibaba.com
Diffstat (limited to 'fs/erofs/internal.h')
-rw-r--r--fs/erofs/internal.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/erofs/internal.h b/fs/erofs/internal.h
index b5e91d7cc3f3..34d5113e13eb 100644
--- a/fs/erofs/internal.h
+++ b/fs/erofs/internal.h
@@ -31,10 +31,8 @@ __printf(3, 4) void _erofs_info(struct super_block *sb,
#define erofs_info(sb, fmt, ...) \
_erofs_info(sb, __func__, fmt "\n", ##__VA_ARGS__)
#ifdef CONFIG_EROFS_FS_DEBUG
-#define erofs_dbg(x, ...) pr_debug(x "\n", ##__VA_ARGS__)
#define DBG_BUGON BUG_ON
#else
-#define erofs_dbg(x, ...) ((void)0)
#define DBG_BUGON(x) ((void)(x))
#endif /* !CONFIG_EROFS_FS_DEBUG */