]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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 08:38:34 +0000 (09:38 +0100)
commitf23fc42a3d4c416411b155f6d678a9a07db418b9
tree2d3b4b5a277c6e01b8c31971e4565e6b546254d2
parent7a821a9a2f86796157ce3a04fe8135cc82b8bfcc
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