]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
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>
Fri, 31 May 2013 20:32:58 +0000 (21:32 +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>
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 */