commit | 2bfbb0271a5b48c01c711d1509a422a7244c9eb8 | [log] [tgz] |
---|---|---|
author | ye xingchen <ye.xingchen@zte.com.cn> | Mon Aug 22 01:38:30 2022 +0000 |
committer | Vlastimil Babka <vbabka@suse.cz> | Tue Aug 23 16:07:36 2022 +0200 |
tree | 1d53083153a83144302aefd81dd09930aa01fc33 | |
parent | 610f9c00ce6ed894caf9bb4feb3c026339150233 [diff] |
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: Zeal Robot <zealci@zte.com.cn> Acked-by: Hyeonggon Yoo <42.hyeyoo@gmail.com> Signed-off-by: ye xingchen <ye.xingchen@zte.com.cn> Signed-off-by: Vlastimil Babka <vbabka@suse.cz>