fs/quota: erase unused but set variable warning
authorJiang Biao <benbjiang@tencent.com>
Wed, 24 Apr 2019 00:58:57 +0000 (08:58 +0800)
committerJan Kara <jack@suse.cz>
Thu, 25 Apr 2019 15:04:43 +0000 (17:04 +0200)
commit78bc3334a69ff289dbc973a9db7c52a2d7757e5b
tree60347d04fe03d77f5093d0abd82e4c6c5f24c752
parent3ef177ec9d5dc225bf30927a2d222d8bb1fbee0f
fs/quota: erase unused but set variable warning

Local variable *reserved* of remove_dquot_ref() is only used if
define CONFIG_QUOTA_DEBUG, but not ebraced in CONFIG_QUOTA_DEBUG
macro, which leads to unused-but-set-variable warning when compiling.

This patch ebrace it into CONFIG_QUOTA_DEBUG macro like what is done
in add_dquot_ref().

Signed-off-by: Jiang Biao <benbjiang@tencent.com>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/quota/dquot.c