Skip to contentSkip to conversation

mm-remove-unused-functions-is_normal_idx-normal-dma32-dma.patch removed from -mm tree

merged [email protected] 1 participant 1 message Jul 9, 2013

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer
#0 lore raw

Subject: [merged] mm-remove-unused-functions-is_normal_idx-normal-dma32-dma.patch removed from -mm tree
To: [email protected],[email protected]
From: [email protected]
Date: Tue, 09 Jul 2013 16:19:53 -0700

The patch titled

     Subject: mm: remove unused functions is_{normal_idx, normal, dma32, dma}

has been removed from the -mm tree. Its filename was
mm-remove-unused-functions-is_normal_idx-normal-dma32-dma.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Zhang Yanfei <[email protected]>
Subject: mm: remove unused functions is_{normal_idx, normal, dma32, dma}

These functions are nowhere used, so remove them.

---

 include/linux/mmzone.h |   28 ----------------------------
 1 file changed, 28 deletions(-)
include/linux/mmzone.h renamed from include/linux/mmzone.h~mm-remove-unused-functions-is_normal_idx-normal-dma32-dma +0 -20
diff -puN include/linux/mmzone.h~mm-remove-unused-functions-is_normal_idx-normal-dma32-dma include/linux/mmzone.h
@@ -869,11 +869,6 @@ static inline int is_highmem_idx(enum zo
 #endif
 }
 
-static inline int is_normal_idx(enum zone_type idx)
-{
-	return (idx == ZONE_NORMAL);
-}
-
 /**
  * is_highmem - helper function to quickly check if a struct zone is a 
  *              highmem zone or not.  This is an attempt to keep references
@@ -890,29 +885,6 @@ static inline int is_highmem(struct zone
 #else
 	return 0;
 #endif
-}
-
-static inline int is_normal(struct zone *zone)
-{
-	return zone == zone->zone_pgdat->node_zones + ZONE_NORMAL;
-}
-
-static inline int is_dma32(struct zone *zone)
-{
-#ifdef CONFIG_ZONE_DMA32
-	return zone == zone->zone_pgdat->node_zones + ZONE_DMA32;
-#else
-	return 0;
-#endif
-}