diff options
Diffstat (limited to 'mm/slub.c')
-rw-r--r-- | mm/slub.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -815,9 +815,6 @@ static struct page *new_slab(struct kmem_cache *s, gfp_t flags, int node) | |||
815 | void *last; | 815 | void *last; |
816 | void *p; | 816 | void *p; |
817 | 817 | ||
818 | if (flags & __GFP_NO_GROW) | ||
819 | return NULL; | ||
820 | |||
821 | BUG_ON(flags & ~(GFP_DMA | GFP_LEVEL_MASK)); | 818 | BUG_ON(flags & ~(GFP_DMA | GFP_LEVEL_MASK)); |
822 | 819 | ||
823 | if (flags & __GFP_WAIT) | 820 | if (flags & __GFP_WAIT) |