diff options
author | Chengming Zhou <chengming.zhou@linux.dev> | 2024-02-21 15:12:53 +0300 |
---|---|---|
committer | Vlastimil Babka <vbabka@suse.cz> | 2024-02-21 18:20:11 +0300 |
commit | 303cd69394bb01f7ce0ce7509b3bd02f34795c05 (patch) | |
tree | 1d572b85eeae8173a91d0ef7e634a175e3ed11b7 /mm/slab_common.c | |
parent | 66b3dc1f04135f89384af39ec4e38546b82e1510 (diff) | |
download | linux-303cd69394bb01f7ce0ce7509b3bd02f34795c05.tar.xz |
mm, slab: remove unused object_size parameter in kmem_cache_flags()
We don't use the object_size parameter in kmem_cache_flags(), so just
remove it.
Signed-off-by: Chengming Zhou <chengming.zhou@linux.dev>
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Diffstat (limited to 'mm/slab_common.c')
-rw-r--r-- | mm/slab_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/slab_common.c b/mm/slab_common.c index 1910252d7e89..e19544043fdf 100644 --- a/mm/slab_common.c +++ b/mm/slab_common.c @@ -172,7 +172,7 @@ struct kmem_cache *find_mergeable(unsigned int size, unsigned int align, size = ALIGN(size, sizeof(void *)); align = calculate_alignment(flags, align, size); size = ALIGN(size, align); - flags = kmem_cache_flags(size, flags, name); + flags = kmem_cache_flags(flags, name); if (flags & SLAB_NEVER_MERGE) return NULL; |