From: Andy Whitcroft Date: Fri, 6 Jan 2006 08:10:50 +0000 (-0800) Subject: [PATCH] mm: pfn_to_pgdat not used in common code X-Git-Tag: v2.6.16-rc1~936^2~267 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=d5afa6dcf74c0efb60ce07c63d0a727be93c67c5;p=linux-2.6-omap-h63xx.git [PATCH] mm: pfn_to_pgdat not used in common code pfn_to_pgdat() isn't used in common code. Remove definition. Signed-off-by: Andy Whitcroft Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/include/linux/mmzone.h b/include/linux/mmzone.h index 3c49f786f90..28f8496abcb 100644 --- a/include/linux/mmzone.h +++ b/include/linux/mmzone.h @@ -596,11 +596,6 @@ static inline int pfn_valid(unsigned long pfn) #define pfn_to_nid early_pfn_to_nid #endif -#define pfn_to_pgdat(pfn) \ -({ \ - NODE_DATA(pfn_to_nid(pfn)); \ -}) - #define early_pfn_valid(pfn) pfn_valid(pfn) void sparse_init(void); #else