2010-08-30 03:13:04

by Michal Nazarewicz

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

From: Michal Nazarewicz <[email protected]>

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

Signed-off-by: Michal Nazarewicz <[email protected]>
---
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