fscache, cachefiles: remove redundant variable 'cache'
authorColin Ian King <colin.king@canonical.com>
Tue, 17 Jul 2018 08:53:42 +0000 (09:53 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Dec 2018 09:07:11 +0000 (10:07 +0100)
commitddf7572f6e3bfed9d6d66e56adbe88702a8c3938
tree5785624d1a78f6fd073861f47148c3f27c468653
parent64703bf3ad57b08181cb2b682c6aa294ff78a39f
fscache, cachefiles: remove redundant variable 'cache'

[ Upstream commit 31ffa563833576bd49a8bf53120568312755e6e2 ]

Variable 'cache' is being assigned but is never used hence it is
redundant and can be removed.

Cleans up clang warning:
warning: variable 'cache' set but not used [-Wunused-but-set-variable]

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/cachefiles/rdwr.c