aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorAustin Kim <[email protected]>2021-08-24 03:49:29 +0000
committerTheodore Ts'o <[email protected]>2021-11-04 14:33:25 +0000
commit3bbef91bdd2180c67407285ba160b023eb4d5306 (patch)
treee62391feb39edc24b40351156de6cb44c3abd3d9 /drivers/fpga/fpga-mgr.c
parentext4: fix boolreturn.cocci warnings in fs/ext4/name.c (diff)
downloadkernel-3bbef91bdd2180c67407285ba160b023eb4d5306.tar.gz
kernel-3bbef91bdd2180c67407285ba160b023eb4d5306.zip
ext4: remove an unused variable warning with CONFIG_QUOTA=n
The 'enable_quota' variable is only used in an CONFIG_QUOTA. With CONFIG_QUOTA=n, compiler causes a harmless warning: fs/ext4/super.c: In function ‘ext4_remount’: fs/ext4/super.c:5840:6: warning: variable ‘enable_quota’ set but not used [-Wunused-but-set-variable] int enable_quota = 0; ^~~~~ Move 'enable_quota' into the same #ifdef CONFIG_QUOTA block to remove an unused variable warning. Signed-off-by: Austin Kim <[email protected]> Reviewed-by: Jan Kara <[email protected]> Link: https://lore.kernel.org/r/20210824034929.GA13415@raspberrypi Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions