commit | 610f9c00ce6ed894caf9bb4feb3c026339150233 | [log] [tgz] |
---|---|---|
author | ye xingchen <ye.xingchen@zte.com.cn> | Tue Aug 23 07:52:41 2022 +0000 |
committer | Vlastimil Babka <vbabka@suse.cz> | Tue Aug 23 16:03:05 2022 +0200 |
tree | 402b93184f11e3b117923e74025e1d4244ca308c | |
parent | 1c23f9e627a7b412978b4e852793c5e3c3efc555 [diff] |
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>