[PATCH] mm: pageblock-flags.h: dead code removed

From: Michal Nazarewicz
Date: Sun Aug 29 2010 - 23:13:11 EST


From: Michal Nazarewicz <mina86@xxxxxxxxxx>

This commit removes two unused macros one of which was, as
a matter of fact, invalid.

Signed-off-by: Michal Nazarewicz <mina86@xxxxxxxxxx>
---
include/linux/pageblock-flags.h | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/include/linux/pageblock-flags.h b/include/linux/pageblock-flags.h
index e8c0612..0949302 100644
--- a/include/linux/pageblock-flags.h
+++ b/include/linux/pageblock-flags.h
@@ -65,9 +65,4 @@ unsigned long get_pageblock_flags_group(struct page *page,
void set_pageblock_flags_group(struct page *page, unsigned long flags,
int start_bitidx, int end_bitidx);

-#define get_pageblock_flags(page) \
- get_pageblock_flags_group(page, 0, NR_PAGEBLOCK_BITS-1)
-#define set_pageblock_flags(page) \
- set_pageblock_flags_group(page, 0, NR_PAGEBLOCK_BITS-1)
-
#endif /* PAGEBLOCK_FLAGS_H */
--
1.7.1


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/