summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/list_debug.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/list_debug.c b/lib/list_debug.c
index e80d27c..7ba9d82 100644
--- a/lib/list_debug.c
+++ b/lib/list_debug.c
@@ -59,9 +59,6 @@ EXPORT_SYMBOL(list_add);
*/
void list_del(struct list_head *entry)
{
- BUG_ON(entry->prev->next != entry);
- BUG_ON(entry->next->prev != entry);
-
if (unlikely(entry->prev->next != entry)) {
printk(KERN_ERR "list_del corruption. prev->next should be %p, "
"but was %p\n", entry, entry->prev->next);
OpenPOWER on IntegriCloud