[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0705022307310.16215@sbz-30.cs.Helsinki.FI>
Date:	Wed, 2 May 2007 23:08:08 +0300 (EEST)
From:	Pekka J Enberg <penberg@...helsinki.fi>
To:	akpm@...ux-foundation.org
cc:	clameter@....com, linux-kernel@...r.kernel.org
Subject: [PATCH] slub: remove duplicate VM_BUG_ON
From: Pekka Enberg <penberg@...helsinki.fi>
This patch removes a duplicate VM_BUG_ON from add_full().
Cc: Christoph Lameter <clameter@....com>
Signed-off-by: Pekka Enberg <penberg@...helsinki.fi>
---
 mm/slub.c |    2 --
 1 file changed, 2 deletions(-)
Index: 26-mm/mm/slub.c
===================================================================
--- 26-mm.orig/mm/slub.c	2007-05-02 23:00:58.000000000 +0300
+++ 26-mm/mm/slub.c	2007-05-02 23:01:15.000000000 +0300
@@ -633,8 +633,6 @@ static void add_full(struct kmem_cache *
 
 	VM_BUG_ON(!irqs_disabled());
 
-	VM_BUG_ON(!irqs_disabled());
-
 	if (!(s->flags & SLAB_STORE_USER))
 		return;
 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
Powered by blists - more mailing lists
 
