]> git.baikalelectronics.ru Git - kernel.git/commit
mm/slab_common: Remove the unneeded result variable
authorye xingchen <ye.xingchen@zte.com.cn>
Tue, 23 Aug 2022 07:52:41 +0000 (07:52 +0000)
committerVlastimil Babka <vbabka@suse.cz>
Tue, 23 Aug 2022 14:03:05 +0000 (16:03 +0200)
commit49f90f816982119753b706635e41bc05a17f09ab
tree402b93184f11e3b117923e74025e1d4244ca308c
parentab10ff5e8831a0b67cd316b656c1de8c860c2d7c
mm/slab_common: Remove the unneeded result variable

Return the value from __kmem_cache_shrink() directly instead of storing it
 in another redundant variable.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: ye xingchen <ye.xingchen@zte.com.cn>
Acked-by: Hyeonggon Yoo <42.hyeyoo@gmail.com>
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
mm/slab_common.c