]> git.baikalelectronics.ru Git - kernel.git/commit
nilfs2: remove the unneeded result variable
authorye xingchen <ye.xingchen@zte.com.cn>
Wed, 21 Sep 2022 03:48:03 +0000 (12:48 +0900)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 3 Oct 2022 21:21:44 +0000 (14:21 -0700)
commit477a93f67a2872b151d9cf318d6b5c42873059f7
treeab971db8ab3ffdce9a04d4809040ef421aa2422b
parent649a092da6e8aefbdb1dc32a6d543587bd06fdea
nilfs2: remove the unneeded result variable

Return the value nilfs_segctor_sync() directly instead of storing it in
another redundant variable.

Link: https://lkml.kernel.org/r/20220831033403.302184-1-ye.xingchen@zte.com.cn
Link: https://lkml.kernel.org/r/20220921034803.2476-3-konishi.ryusuke@gmail.com
Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: ye xingchen <ye.xingchen@zte.com.cn>
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@gmail.com>
Cc: Minghao Chi <chi.minghao@zte.com.cn>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/nilfs2/segment.c