public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] slub: remove duplicate VM_BUG_ON
@ 2007-05-02 20:08 Pekka J Enberg
  2007-05-02 20:12 ` Christoph Lameter
  0 siblings, 1 reply; 6+ messages in thread
From: Pekka J Enberg @ 2007-05-02 20:08 UTC (permalink / raw)
  To: akpm; +Cc: clameter, linux-kernel

From: Pekka Enberg <penberg@cs.helsinki.fi>

This patch removes a duplicate VM_BUG_ON from add_full().

Cc: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Pekka Enberg <penberg@cs.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;
 

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-05-02 21:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-02 20:08 [PATCH] slub: remove duplicate VM_BUG_ON Pekka J Enberg
2007-05-02 20:12 ` Christoph Lameter
2007-05-02 20:21   ` Pekka Enberg
2007-05-02 21:14     ` Christoph Lameter
2007-05-02 21:27       ` Andrew Morton
2007-05-02 21:42         ` Current SLUB Tree Christoph Lameter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox