]> 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)
commitfe85532eae75315bc5adb81768ea4f8a8dd618fc
tree141fcfbf82a8a6efcfb11ad8b844f62b8ba26624
parentb5e550ed1a530672989e5159fb0f8c6108f6c0e1
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