2013-05-16 01:26:07

by Haicheng Li

[permalink] [raw]
Subject: [PATCH] cachefiles: remove unused macro list_to_page()

Signed-off-by: Haicheng Li <[email protected]>
---
fs/cachefiles/interface.c | 2 --
1 file changed, 2 deletions(-)

diff --git a/fs/cachefiles/interface.c b/fs/cachefiles/interface.c
index 746ce53..847ba6a 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 */
--
1.7.9.5


2013-05-16 11:39:40

by David Howells

[permalink] [raw]
Subject: Re: [PATCH] cachefiles: remove unused macro list_to_page()

Haicheng Li <[email protected]> wrote:

> Signed-off-by: Haicheng Li <[email protected]>

Applied, thanks.

David