e1000: Removing the unused macro PAGE_USE_COUNT()
Subsystems (2)
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.
Signed-off-by Breno Leitao <[email protected]>
--- drivers/net/e1000/e1000_main.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-)
drivers/net/e1000/e1000_main.c +0 -2
@@ -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
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 number630b25cdf4e3f8c0a11eb04fc8436cc36653cd58.Signed-off-by Breno Leitao <[email protected]>--- drivers/net/e1000/e1000_main.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-)
Acked-by Jeff Kirsher <[email protected]>
Signature · 2 lines
Cheers, Jeff
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 number630b25cdf4e3f8c0a11eb04fc8436cc36653cd58.
Quoted 7 lines
Quoted 5 lines
Signed-off-by Breno Leitao <[email protected]>--- drivers/net/e1000/e1000_main.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-)Acked-by Jeff Kirsher <[email protected]>
Applied, thanks everyone.