diff options
author | Colin Ian King <colin.king@canonical.com> | 2017-10-19 12:58:21 +0200 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2017-10-26 10:44:26 +0200 |
commit | dca6951f5adc5262ae2689cf2656628b309eabd7 (patch) | |
tree | 1980a1528c463ebbcfa705fc3d1c34aca7845cc9 /.gitignore | |
parent | f2fs: avoid using timespec (diff) | |
download | linux-dca6951f5adc5262ae2689cf2656628b309eabd7.tar.xz linux-dca6951f5adc5262ae2689cf2656628b309eabd7.zip |
f2fs: remove several redundant assignments
There are several assignments to variables that are redundant
as the values are never read when the variables are updated later
and so the redundant statements can be safely removed.
Cleans up clang warnings:
fs/f2fs/segment.c:923:19: warning: Value stored to 'p' during its initialization is never read
fs/f2fs/segment.c:2060:2: warning: Value stored to 'hint' is never read
fs/f2fs/segment.c:2353:2: warning: Value stored to 'start_block' is never read
fs/f2fs/segment.c:2354:2: warning: Value stored to 'end_block' is never read
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions