Skip to contentSkip to conversation

e1000: Removing the unused macro PAGE_USE_COUNT()

PATCH Applied Breno Leitao 3 participants 3 messages Feb 17, 2009 – Feb 20, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 e1000: Removing the unused macro PAGE_USE_COUNT()

Removing the unused macro PAGE_USE_COUNT(), since there is no more reference to it. The last reference was removed by Jesse's commit number 630b25cdf4e3f8c0a11eb04fc8436cc36653cd58.

---
 drivers/net/e1000/e1000_main.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
drivers/net/e1000/e1000_main.c +0 -2
index ca7cd7e..61b56ca 100644
@@ -1877,8 +1877,6 @@ int e1000_setup_all_rx_resources(struct e1000_adapter *adapter)
  * e1000_setup_rctl - configure the receive control registers
  * @adapter: Board private structure
  **/
-#define PAGE_USE_COUNT(S) (((S) >> PAGE_SHIFT) + \
-			(((S) & (PAGE_SIZE - 1)) ? 1 : 0))
 static void e1000_setup_rctl(struct e1000_adapter *adapter)
 {
 	struct e1000_hw *hw = &adapter->hw;
Signature · 1 line
1.6.0.2
Acked-by on v1 1/1
#1 lore raw
Quoted 9 lines · Breno Leitao

Removing the unused macro PAGE_USE_COUNT(), since there is no more reference to it. The last reference was removed by Jesse's commit number 630b25cdf4e3f8c0a11eb04fc8436cc36653cd58.

---
 drivers/net/e1000/e1000_main.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
Signature · 2 lines
Cheers,
Jeff
maintainer Applied
#2 lore raw

From: Jeff Kirsher <[email protected]>
Date: Tue, 17 Feb 2009 15:27:01 -0800

Quoted 5 lines · Breno Leitao
Quoted 4 lines

Removing the unused macro PAGE_USE_COUNT(), since there is no more reference to it. The last reference was removed by Jesse's commit number 630b25cdf4e3f8c0a11eb04fc8436cc36653cd58.

Quoted 7 lines
Quoted 5 lines
---
 drivers/net/e1000/e1000_main.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

Applied, thanks everyone.