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: v3.12-rc1~40070^2~267 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d5afa6dcf74c0efb60ce07c63d0a727be93c67c5;p=kernel%2Fkernel-generic.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 3c49f78..28f8496 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