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

mm/slub: Remove the unneeded result variable



Return the value from attribute->store(s, buf, len) and
attribute->show(s, buf) directly instead of storing it in
another redundant variable.

Reported-by: default avatarZeal Robot <zealci@zte.com.cn>
Acked-by: default avatarHyeonggon Yoo <42.hyeyoo@gmail.com>
Signed-off-by: default avatarye xingchen <ye.xingchen@zte.com.cn>
Signed-off-by: default avatarVlastimil Babka <vbabka@suse.cz>
parent 610f9c00
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