diff options
author | Christoph Lameter <clameter@sgi.com> | 2007-05-07 01:50:17 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-07 23:12:57 +0400 |
commit | cfce66047f1893cb7d3abb0d53e65cbbd8d605f0 (patch) | |
tree | b6e533a6b3deee686c42abf6c9117154548c0aaf /mm/slub.c | |
parent | 4f104934591ed98534b3a4c3d17d972b790e9c42 (diff) | |
download | linux-cfce66047f1893cb7d3abb0d53e65cbbd8d605f0.tar.xz |
Slab allocators: remove useless __GFP_NO_GROW flag
There is no user remaining and I have never seen any use of that flag.
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/slub.c')
-rw-r--r-- | mm/slub.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/mm/slub.c b/mm/slub.c index 347e44821bcb..a6323484dd3e 100644 --- a/mm/slub.c +++ b/mm/slub.c @@ -815,9 +815,6 @@ static struct page *new_slab(struct kmem_cache *s, gfp_t flags, int node) void *last; void *p; - if (flags & __GFP_NO_GROW) - return NULL; - BUG_ON(flags & ~(GFP_DMA | GFP_LEVEL_MASK)); if (flags & __GFP_WAIT) |