diff options
author | 2024-10-23 17:48:50 +0800 | |
---|---|---|
committer | 2024-11-01 01:24:41 +0000 | |
commit | 0c3a38a4b442893f8baca72e44a2a27d52d6cc75 (patch) | |
tree | 2591328a95a45d5c467fbf446aeebf4569b30f5e /scripts/lib/kdoc/kdoc_files.py | |
parent | f2fs: fix typos (diff) | |
download | wireguard-linux-0c3a38a4b442893f8baca72e44a2a27d52d6cc75.tar.xz wireguard-linux-0c3a38a4b442893f8baca72e44a2a27d52d6cc75.zip |
f2fs: Fix not used variable 'index'
Fix the following compilation warning:
fs/f2fs/data.c:2391:10: warning: variable ‘index’ set but not used
[-Wunused-but-set-variable]
2391 | pgoff_t index;
Only define and set the variable index when the CONFIG_F2FS_FS_COMPRESSION
is enabled.
Fixes: db92e6c729d8 ("f2fs: convert f2fs_mpage_readpages() to use folio")
Signed-off-by: Zeng Heng <zengheng4@huawei.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions