]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
atl1c: remove dmar_dly_cnt and dmaw_dly_cnt
authorHuang, Xiong <xiong@qca.qualcomm.com>
Wed, 18 Apr 2012 22:01:24 +0000 (22:01 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Apr 2012 00:14:19 +0000 (20:14 -0400)
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>
drivers/net/ethernet/atheros/atl1c/atl1c.h
drivers/net/ethernet/atheros/atl1c/atl1c_main.c

index fa315519c071b64fa46e1153a6c3759d0200f001..acc2956df90798143ba3c4bc316e82b0bf3b7b20 100644 (file)
@@ -382,8 +382,6 @@ struct atl1c_hw {
        u16 phy_id2;
 
        u32 intr_mask;
-       u8 dmaw_dly_cnt;
-       u8 dmar_dly_cnt;
 
        u8 preamble_len;
        u16 max_frame_size;
index e8e9c104cfebff4a8186bb5e3ad57f3257b39999..12b47258960b57c07027c3e5ea03c82382628813 100644 (file)
@@ -745,8 +745,6 @@ static int __devinit atl1c_sw_init(struct atl1c_adapter *adapter)
        hw->rfd_burst = 8;
        hw->dma_order = atl1c_dma_ord_out;
        hw->dmar_block = atl1c_dma_req_1024;
-       hw->dmar_dly_cnt = 15;
-       hw->dmaw_dly_cnt = 4;
 
        if (atl1c_alloc_queues(adapter)) {
                dev_err(&pdev->dev, "Unable to allocate memory for queues\n");