cachefiles: remove unused macro list_to_page()
authorHaicheng Li <haicheng.li@linux.intel.com>
Thu, 16 May 2013 01:25:29 +0000 (09:25 +0800)
committerDavid Howells <dhowells@redhat.com>
Wed, 19 Jun 2013 13:16:47 +0000 (14:16 +0100)
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>
fs/cachefiles/interface.c

index eeb3f7d0e1a78dd2912bbb3289ab244cc8fe576d..d4c1206af9fca6009a7591a8d36b36684043bf52 100644 (file)
@@ -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 */