]> git.baikalelectronics.ru Git - kernel.git/commitdiff
net: hns3: remove some unused fields in struct hclge_dev
authorHuazhong Tan <tanhuazhong@huawei.com>
Thu, 28 May 2020 13:48:18 +0000 (21:48 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 May 2020 23:39:04 +0000 (16:39 -0700)
Remove some fields in struct hclge_dev which have not been used.

Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h

index 913c4f67740480f73dff2c08f1cf243e5566f3f9..46e6e0fef3ba5a7a591b021b5efb2fd312ad808f 100644 (file)
@@ -771,12 +771,6 @@ struct hclge_dev {
        u16 num_roce_msi;       /* Num of roce vectors for this PF */
        int roce_base_vector;
 
-       u16 pending_udp_bitmap;
-
-       u16 rx_itr_default;
-       u16 tx_itr_default;
-
-       u16 adminq_work_limit; /* Num of admin receive queue desc to process */
        unsigned long service_timer_period;
        unsigned long service_timer_previous;
        struct timer_list reset_timer;