summaryrefslogtreecommitdiffstats
path: root/fs/cachefiles/interface.c
diff options
context:
space:
mode:
authorHaicheng Li <haicheng.li@linux.intel.com>2013-05-16 03:25:29 +0200
committerDavid Howells <dhowells@redhat.com>2013-06-19 15:16:47 +0200
commit2144bc78d41fe31ba58ffdd48571a54d3ca6b5fe (patch)
treed9964abf0acf7b7596baa1eb2e5828bcad25f406 /fs/cachefiles/interface.c
parentFS-Cache: Simplify cookie retention for fscache_objects, fixing oops (diff)
downloadlinux-2144bc78d41fe31ba58ffdd48571a54d3ca6b5fe.tar.xz
linux-2144bc78d41fe31ba58ffdd48571a54d3ca6b5fe.zip
cachefiles: remove unused macro list_to_page()
Signed-off-by: Haicheng Li <haicheng.li@linux.intel.com> Signed-off-by: David Howells <dhowells@redhat.com> Tested-By: Milosz Tanski <milosz@adfin.com> Acked-by: Jeff Layton <jlayton@redhat.com>
Diffstat (limited to 'fs/cachefiles/interface.c')
-rw-r--r--fs/cachefiles/interface.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/cachefiles/interface.c b/fs/cachefiles/interface.c
index eeb3f7d0e1a7..d4c1206af9fc 100644
--- a/fs/cachefiles/interface.c
+++ b/fs/cachefiles/interface.c
@@ -13,8 +13,6 @@
#include <linux/mount.h>
#include "internal.h"
-#define list_to_page(head) (list_entry((head)->prev, struct page, lru))
-
struct cachefiles_lookup_data {
struct cachefiles_xattr *auxdata; /* auxiliary data */
char *key; /* key path */