Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 17022220 authored by Christoph Lameter's avatar Christoph Lameter Committed by Linus Torvalds
Browse files

SLAB: remove WARN_ON_ONCE for zero sized objects for 2.6.22 release



We agreed to remove the WARN_ON_ONCE before 2.6.22 is released.

Signed-off-by: default avatarChristoph Lameter <clameter@sgi.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 0f4915b9
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -774,7 +774,6 @@ static inline struct kmem_cache *__find_general_cachep(size_t size,
	 */
	BUG_ON(malloc_sizes[INDEX_AC].cs_cachep == NULL);
#endif
	WARN_ON_ONCE(size == 0);
	while (size > csizep->cs_size)
		csizep++;