[PATCH] mm: pfn_to_pgdat not used in common code
authorAndy Whitcroft <apw@shadowen.org>
Fri, 6 Jan 2006 08:10:50 +0000 (00:10 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 6 Jan 2006 16:33:24 +0000 (08:33 -0800)
pfn_to_pgdat() isn't used in common code.  Remove definition.

Signed-off-by: Andy Whitcroft <apw@shadowen.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/mmzone.h

index 3c49f786f90c0c9424cdda5bff04e2638de20d4e..28f8496abcb96fabf038fdcf808af0a20618d0d0 100644 (file)
@@ -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