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
630b25cdf4
.
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>
This commit is contained in:
committed by
David S. Miller
parent
9107584ecd
commit
3c842138c0
@@ -1877,8 +1877,6 @@ int e1000_setup_all_rx_resources(struct e1000_adapter *adapter)
|
|||||||
* e1000_setup_rctl - configure the receive control registers
|
* e1000_setup_rctl - configure the receive control registers
|
||||||
* @adapter: Board private structure
|
* @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)
|
static void e1000_setup_rctl(struct e1000_adapter *adapter)
|
||||||
{
|
{
|
||||||
struct e1000_hw *hw = &adapter->hw;
|
struct e1000_hw *hw = &adapter->hw;
|
||||||
|
Reference in New Issue
Block a user