diff options
Diffstat (limited to 'mm/slab.c')
-rw-r--r-- | mm/slab.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -774,7 +774,6 @@ static inline struct kmem_cache *__find_general_cachep(size_t size, | |||
774 | */ | 774 | */ |
775 | BUG_ON(malloc_sizes[INDEX_AC].cs_cachep == NULL); | 775 | BUG_ON(malloc_sizes[INDEX_AC].cs_cachep == NULL); |
776 | #endif | 776 | #endif |
777 | WARN_ON_ONCE(size == 0); | ||
778 | while (size > csizep->cs_size) | 777 | while (size > csizep->cs_size) |
779 | csizep++; | 778 | csizep++; |
780 | 779 | ||