Browse Source

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>
Haicheng Li 12 năm trước cách đây
mục cha
commit
2144bc78d4
1 tập tin đã thay đổi với 0 bổ sung2 xóa
  1. 0 2
      fs/cachefiles/interface.c

+ 0 - 2
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 */