OSDN Git Service

xfs: fix for variable set but not used warning
authorsunliming <sunliming@kylinos.cn>
Tue, 19 Jul 2022 01:59:03 +0000 (18:59 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 20 Jul 2022 23:40:39 +0000 (16:40 -0700)
commit1a53d3d426411326c22e591f0dfa8958db56485a
tree9604b9b76a78c64620616d395c8086db9f94e4e1
parent231f91ab504ecebcb88e942341b3d7dd91de45f1
xfs: fix for variable set but not used warning

Fix below kernel warning:

fs/xfs/scrub/repair.c:539:19: warning: variable 'agno' set but not used [-Wunused-but-set-variable]

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: sunliming <sunliming@kylinos.cn>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
fs/xfs/scrub/repair.c