cachefiles: remove unused macro list_to_page()
Signed-off-by: Haicheng Li <[email protected]>
Signed-off-by: David Howells <[email protected]>
Tested-By: Milosz Tanski <[email protected]>
Acked-by: Jeff Layton <[email protected]>
diff --git a/fs/cachefiles/interface.c b/fs/cachefiles/interface.c
index eeb3f7d..d4c1206 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 */