浏览代码

[PATCH] lockdep: remove DEBUG_BUG_ON()

cleanup: remove unused DEBUG_BUG_ON() defines.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Ingo Molnar 19 年之前
父节点
当前提交
36596243da
共有 1 个文件被更改,包括 0 次插入8 次删除
  1. 0 8
      kernel/mutex-debug.h

+ 0 - 8
kernel/mutex-debug.h

@@ -103,17 +103,9 @@ do {							\
 	}						\
 } while (0)
 
-# define DEBUG_BUG_ON(c)				\
-do {							\
-	if (unlikely(c))				\
-		DEBUG_BUG();				\
-} while (0)
-
 #ifdef CONFIG_SMP
 # define SMP_DEBUG_LOCKS_WARN_ON(c)			DEBUG_LOCKS_WARN_ON(c)
-# define SMP_DEBUG_BUG_ON(c)				DEBUG_BUG_ON(c)
 #else
 # define SMP_DEBUG_LOCKS_WARN_ON(c)			do { } while (0)
-# define SMP_DEBUG_BUG_ON(c)				do { } while (0)
 #endif