diff options
author | Breno Leitao <leitao@linux.vnet.ibm.com> | 2009-02-19 17:38:52 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-02-19 17:38:52 -0500 |
commit | 3c842138c0cf313e906538b89d88ba0d969ce747 (patch) | |
tree | c26119b0c8fb8820ec7d95a65da6de8d87b5f449 /drivers/net/e1000 | |
parent | 9107584ecdda31981557034cccf5185afced3e0e (diff) |
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 <leitao@linux.vnet.ibm.com>
Acked-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/e1000')
-rw-r--r-- | drivers/net/e1000/e1000_main.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/e1000/e1000_main.c b/drivers/net/e1000/e1000_main.c index ca7cd7e2bf2..61b56ca0005 100644 --- a/drivers/net/e1000/e1000_main.c +++ b/drivers/net/e1000/e1000_main.c | |||
@@ -1877,8 +1877,6 @@ int e1000_setup_all_rx_resources(struct e1000_adapter *adapter) | |||
1877 | * e1000_setup_rctl - configure the receive control registers | 1877 | * e1000_setup_rctl - configure the receive control registers |
1878 | * @adapter: Board private structure | 1878 | * @adapter: Board private structure |
1879 | **/ | 1879 | **/ |
1880 | #define PAGE_USE_COUNT(S) (((S) >> PAGE_SHIFT) + \ | ||
1881 | (((S) & (PAGE_SIZE - 1)) ? 1 : 0)) | ||
1882 | static void e1000_setup_rctl(struct e1000_adapter *adapter) | 1880 | static void e1000_setup_rctl(struct e1000_adapter *adapter) |
1883 | { | 1881 | { |
1884 | struct e1000_hw *hw = &adapter->hw; | 1882 | struct e1000_hw *hw = &adapter->hw; |