summaryrefslogtreecommitdiff
path: root/fs/cachefiles/interface.c
diff options
context:
space:
mode:
authorHaicheng Li <haicheng.li@linux.intel.com>2013-05-16 05:25:29 +0400
committerDavid Howells <dhowells@redhat.com>2013-06-19 17:16:47 +0400
commit2144bc78d41fe31ba58ffdd48571a54d3ca6b5fe (patch)
treed9964abf0acf7b7596baa1eb2e5828bcad25f406 /fs/cachefiles/interface.c
parent1362729b169b7903c7e739dbe7904994b0d8c47f (diff)
downloadlinux-2144bc78d41fe31ba58ffdd48571a54d3ca6b5fe.tar.xz
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 */