From d8f97ffcfdbaf458a584dbf7dacc412a14175347 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Sat, 30 Sep 2006 23:26:59 -0700 Subject: [PATCH] --- yaml --- r: 37598 b: refs/heads/master c: ab8e92efcf3f7972f30033cad75f180aef4f3abc h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/lib/list_debug.c | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/[refs] b/[refs] index 9a8511981bfc..15fd562ffa84 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 1bdfd554be94def718323659173517c5d4a69d25 +refs/heads/master: ab8e92efcf3f7972f30033cad75f180aef4f3abc diff --git a/trunk/lib/list_debug.c b/trunk/lib/list_debug.c index e80d27c97898..7ba9d823d388 100644 --- a/trunk/lib/list_debug.c +++ b/trunk/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);