2020-04-15 06:49:45

by Theodore Ts'o

[permalink] [raw]
Subject: Re: [PATCH -next] ext4: remove set but not used variable 'es'

On Thu, Apr 02, 2020 at 11:39:39AM +0800, Jason Yan wrote:
> Fix the following gcc warning:
>
> fs/ext4/super.c:599:27: 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 <[email protected]>
> Signed-off-by: Jason Yan <[email protected]>

Applied, thanks.

- Ted