]> 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)
commit06965ef6d7f9a3d66bb410e7d0296022ae64f383
treeab971db8ab3ffdce9a04d4809040ef421aa2422b
parent6c5829cf1156ffca3ddf467aad5c3a943a71f512
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