diff options
author | Christoph Lameter <clameter@sgi.com> | 2007-07-01 12:06:35 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-01 12:29:43 -0700 |
commit | 17022220dd70378b2f17fa9b0248f15067d88c58 (patch) | |
tree | 52a290cde0e3c6719df83d20ca02af4dbabfbbd6 /mm/slab.c | |
parent | 0f4915b9c5d7a35da11bfcff80ae6466cb7b9fc4 (diff) | |
download | blackbird-op-linux-17022220dd70378b2f17fa9b0248f15067d88c58.tar.gz blackbird-op-linux-17022220dd70378b2f17fa9b0248f15067d88c58.zip |
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: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/slab.c')
-rw-r--r-- | mm/slab.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/mm/slab.c b/mm/slab.c index 6d65cf4e4b2e..a9c4472e9204 100644 --- a/mm/slab.c +++ b/mm/slab.c @@ -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++; |