aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cachefiles
diff options
context:
space:
mode:
authorHaicheng Li <haicheng.li@linux.intel.com>2013-05-15 21:25:29 -0400
committerDavid Howells <dhowells@redhat.com>2013-06-19 09:16:47 -0400
commit2144bc78d41fe31ba58ffdd48571a54d3ca6b5fe (patch)
treed9964abf0acf7b7596baa1eb2e5828bcad25f406 /fs/cachefiles
parent1362729b169b7903c7e739dbe7904994b0d8c47f (diff)
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')
-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 @@
13#include <linux/mount.h> 13#include <linux/mount.h>
14#include "internal.h" 14#include "internal.h"
15 15
16#define list_to_page(head) (list_entry((head)->prev, struct page, lru))
17
18struct cachefiles_lookup_data { 16struct cachefiles_lookup_data {
19 struct cachefiles_xattr *auxdata; /* auxiliary data */ 17 struct cachefiles_xattr *auxdata; /* auxiliary data */
20 char *key; /* key path */ 18 char *key; /* key path */