mm/slub: remove unneeded return value of slab_pad_check
authorMiaohe Lin <linmiaohe@huawei.com>
Tue, 19 Apr 2022 12:03:52 +0000 (20:03 +0800)
committerVlastimil Babka <vbabka@suse.cz>
Wed, 20 Apr 2022 17:27:14 +0000 (19:27 +0200)
commita204e6d626126d33f34f43374d5abd00141f3e65
treefd763ac749184a3ec226f4f16b674879b1cac2c7
parent6b6efe23942536f3a2d2ae25c92d34d885f020c8
mm/slub: remove unneeded return value of slab_pad_check

The return value of slab_pad_check is never used. So we can make it return
void now.

Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Reviewed-by: Hyeonggon Yoo <42.hyeyoo@gmail.com>
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Link: https://lore.kernel.org/r/20220419120352.37825-1-linmiaohe@huawei.com
mm/slub.c