]> git.baikalelectronics.ru Git - kernel.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)
committerDavid Howells <dhowells@redhat.com>
Fri, 30 Nov 2018 16:00:58 +0000 (16:00 +0000)
commit4fadab62dab5069824bb929710784e6769eb64a8
tree141fcfbf82a8a6efcfb11ad8b844f62b8ba26624
parent14705e28215b0f8a06e935bcad30b53c38b056dc
fscache, cachefiles: remove redundant variable 'cache'

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>
fs/cachefiles/rdwr.c