ext4: remove set but not used variable 'es' in ext4_jbd2.c
authorJason Yan <yanaijie@huawei.com>
Thu, 2 Apr 2020 03:47:59 +0000 (11:47 +0800)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 16 Apr 2020 03:58:49 +0000 (23:58 -0400)
commit648814111af26485762a22da0f4b3159f3f9632c
tree7afbe1c095ea687da7bcf0b4f0e170c6ed3ed86b
parent05ca87c149ae8078fb2a23adc6329eed5bb078fb
ext4: remove set but not used variable 'es' in ext4_jbd2.c

Fix the following gcc warning:

fs/ext4/ext4_jbd2.c:341:30: warning: variable 'es' set but not used [-Wunused-but-set-variable]
     struct ext4_super_block *es;
                              ^~

Fixes: 2ea2fc775321 ("ext4: save all error info in save_error_info() and drop ext4_set_errno()")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Jason Yan <yanaijie@huawei.com>
Link: https://lore.kernel.org/r/20200402034759.29957-1-yanaijie@huawei.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/ext4_jbd2.c