diff options
author | ye xingchen <ye.xingchen@zte.com.cn> | 2022-09-21 12:48:03 +0900 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2022-10-03 14:21:44 -0700 |
commit | da6f79164e98de4ab3f2fdeea4875207fe282014 (patch) | |
tree | ab971db8ab3ffdce9a04d4809040ef421aa2422b /lib/test_kasan.c | |
parent | 0badb2e46a7699d09ef09a2c7f8f4fe66c15e606 (diff) | |
download | linux-da6f79164e98de4ab3f2fdeea4875207fe282014.tar.bz2 |
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>
Diffstat (limited to 'lib/test_kasan.c')
0 files changed, 0 insertions, 0 deletions