mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
Remove SLAB_CTOR_CONSTRUCTOR
SLAB_CTOR_CONSTRUCTOR is always specified. No point in checking it. Signed-off-by: Christoph Lameter <[email protected]> Cc: David Howells <[email protected]> Cc: Jens Axboe <[email protected]> Cc: Steven French <[email protected]> Cc: Michael Halcrow <[email protected]> Cc: OGAWA Hirofumi <[email protected]> Cc: Miklos Szeredi <[email protected]> Cc: Steven Whitehouse <[email protected]> Cc: Roman Zippel <[email protected]> Cc: David Woodhouse <[email protected]> Cc: Dave Kleikamp <[email protected]> Cc: Trond Myklebust <[email protected]> Cc: "J. Bruce Fields" <[email protected]> Cc: Anton Altaparmakov <[email protected]> Cc: Mark Fasheh <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Christoph Hellwig <[email protected]> Cc: Jan Kara <[email protected]> Cc: David Chinner <[email protected]> Cc: "David S. Miller" <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
5577bd8a85
commit
a35afb830f
56 changed files with 178 additions and 277 deletions
|
|
@ -327,7 +327,7 @@ void *kmem_cache_alloc(struct kmem_cache *c, gfp_t flags)
|
|||
b = (void *)__get_free_pages(flags, get_order(c->size));
|
||||
|
||||
if (c->ctor)
|
||||
c->ctor(b, c, SLAB_CTOR_CONSTRUCTOR);
|
||||
c->ctor(b, c, 0);
|
||||
|
||||
return b;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue