diff options
author | Colin Ian King | 2017-10-19 12:58:21 +0200 |
---|---|---|
committer | Jaegeuk Kim | 2017-10-26 10:44:26 +0200 |
commit | dca6951f5adc5262ae2689cf2656628b309eabd7 (patch) | |
tree | 1980a1528c463ebbcfa705fc3d1c34aca7845cc9 /fs/f2fs/segment.h | |
parent | 6bccfa19bb3ba31ebe9abc3ec95b27cc4667194e (diff) |
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 'fs/f2fs/segment.h')
0 files changed, 0 insertions, 0 deletions