Skip to content

Commit 3659624

Browse files
Ingo MolnarLinus Torvalds
authored andcommitted
[PATCH] lockdep: remove DEBUG_BUG_ON()
cleanup: remove unused DEBUG_BUG_ON() defines. Signed-off-by: Ingo Molnar <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent 9e7f4d4 commit 3659624

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

kernel/mutex-debug.h

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -103,17 +103,9 @@ do { \
103103
} \
104104
} while (0)
105105

106-
# define DEBUG_BUG_ON(c) \
107-
do { \
108-
if (unlikely(c)) \
109-
DEBUG_BUG(); \
110-
} while (0)
111-
112106
#ifdef CONFIG_SMP
113107
# define SMP_DEBUG_LOCKS_WARN_ON(c) DEBUG_LOCKS_WARN_ON(c)
114-
# define SMP_DEBUG_BUG_ON(c) DEBUG_BUG_ON(c)
115108
#else
116109
# define SMP_DEBUG_LOCKS_WARN_ON(c) do { } while (0)
117-
# define SMP_DEBUG_BUG_ON(c) do { } while (0)
118110
#endif
119111

0 commit comments

Comments
 (0)