diff options
author | Huang, Xiong <xiong@qca.qualcomm.com> | 2012-04-18 18:01:24 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-04-19 20:14:19 -0400 |
commit | 9c277d848d0fc21936e615b9ba4463604f684e5d (patch) | |
tree | a86cb9c394b1ea2664788f1ade0361c8fe68f613 | |
parent | c08b9b2a5b3f0fd83e7f72da03f0a0df12c67e3a (diff) |
atl1c: remove dmar_dly_cnt and dmaw_dly_cnt
dmar_dly_cnt and dmaw_dly_cnt aren't used by hardware/driver any more.
Signed-off-by: xiong <xiong@qca.qualcomm.com>
Tested-by: Liu David <dwliu@qca.qualcomm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/ethernet/atheros/atl1c/atl1c.h | 2 | ||||
-rw-r--r-- | drivers/net/ethernet/atheros/atl1c/atl1c_main.c | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/ethernet/atheros/atl1c/atl1c.h b/drivers/net/ethernet/atheros/atl1c/atl1c.h index fa315519c071..acc2956df907 100644 --- a/drivers/net/ethernet/atheros/atl1c/atl1c.h +++ b/drivers/net/ethernet/atheros/atl1c/atl1c.h | |||
@@ -382,8 +382,6 @@ struct atl1c_hw { | |||
382 | u16 phy_id2; | 382 | u16 phy_id2; |
383 | 383 | ||
384 | u32 intr_mask; | 384 | u32 intr_mask; |
385 | u8 dmaw_dly_cnt; | ||
386 | u8 dmar_dly_cnt; | ||
387 | 385 | ||
388 | u8 preamble_len; | 386 | u8 preamble_len; |
389 | u16 max_frame_size; | 387 | u16 max_frame_size; |
diff --git a/drivers/net/ethernet/atheros/atl1c/atl1c_main.c b/drivers/net/ethernet/atheros/atl1c/atl1c_main.c index e8e9c104cfeb..12b47258960b 100644 --- a/drivers/net/ethernet/atheros/atl1c/atl1c_main.c +++ b/drivers/net/ethernet/atheros/atl1c/atl1c_main.c | |||
@@ -745,8 +745,6 @@ static int __devinit atl1c_sw_init(struct atl1c_adapter *adapter) | |||
745 | hw->rfd_burst = 8; | 745 | hw->rfd_burst = 8; |
746 | hw->dma_order = atl1c_dma_ord_out; | 746 | hw->dma_order = atl1c_dma_ord_out; |
747 | hw->dmar_block = atl1c_dma_req_1024; | 747 | hw->dmar_block = atl1c_dma_req_1024; |
748 | hw->dmar_dly_cnt = 15; | ||
749 | hw->dmaw_dly_cnt = 4; | ||
750 | 748 | ||
751 | if (atl1c_alloc_queues(adapter)) { | 749 | if (atl1c_alloc_queues(adapter)) { |
752 | dev_err(&pdev->dev, "Unable to allocate memory for queues\n"); | 750 | dev_err(&pdev->dev, "Unable to allocate memory for queues\n"); |