]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ext4: remove unused variable warning in parse_options()
authorOlof Johansson <olof@lixom.net>
Mon, 11 Nov 2019 02:25:23 +0000 (18:25 -0800)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 14 Nov 2019 22:59:05 +0000 (17:59 -0500)
commit1e1a76ed9a1c090e1ac030ed73612e5fe2262f2d
tree6a370ee1d865e715debccb35bc172f84694cf704
parent196624e192f8e767b06924e46495c56846b2b64e
ext4: remove unused variable warning in parse_options()

Commit c33fbe8f673c5 ("ext4: Enable blocksize < pagesize for
dioread_nolock") removed the only user of 'sbi' outside of the ifdef,
so it caused a new warning:

fs/ext4/super.c:2068:23: warning: unused variable 'sbi' [-Wunused-variable]

Fixes: c33fbe8f673c5 ("ext4: Enable blocksize < pagesize for dioread_nolock")
Signed-off-by: Olof Johansson <olof@lixom.net>
Link: https://lore.kernel.org/r/20191111022523.34256-1-olof@lixom.net
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Ritesh Harjani <riteshh@linux.ibm.com>
fs/ext4/super.c