Skip to content
Commit 610f9c00 authored by ye xingchen's avatar ye xingchen Committed by Vlastimil Babka
Browse files

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: default avatarZeal Robot <zealci@zte.com.cn>
Signed-off-by: default avatarye xingchen <ye.xingchen@zte.com.cn>
Acked-by: default avatarHyeonggon Yoo <42.hyeyoo@gmail.com>
Signed-off-by: default avatarVlastimil Babka <vbabka@suse.cz>
parent 1c23f9e6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment