[PATCH 2/3] pfn_to_pgdat not used in common code

Andy Whitcroft
2005-11-16T23:00:13Z

pfn_to_pgdat not used in common code

pfn_to_pgdat() isn't used in common code. Remove definition.

Signed-off-by: Andy Whitcroft <apw@shadowen.org>
---
mmzone.h | 5 -----
1 file changed, 5 deletions(-)
diff -upN reference/include/linux/mmzone.h current/include/linux/mmzone.h
--- reference/include/linux/mmzone.h
+++ current/include/linux/mmzone.h
@@ -607,11 +607,6 @@ static inline int pfn_valid(unsigned lon
#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