diff options
author | ye xingchen <ye.xingchen@zte.com.cn> | 2022-08-22 01:38:30 +0000 |
---|---|---|
committer | Vlastimil Babka <vbabka@suse.cz> | 2022-08-23 16:07:36 +0200 |
commit | 2bfbb0271a5b48c01c711d1509a422a7244c9eb8 (patch) | |
tree | 1d53083153a83144302aefd81dd09930aa01fc33 /mm/slab_common.c | |
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>
Diffstat (limited to 'mm/slab_common.c')
0 files changed, 0 insertions, 0 deletions