There are some misc updates for the HNS3 ethernet driver. #1 narrows two local variable range in hclgevf_reset_prepare_wait(). #2 adds reset failure check in periodic service task. #3~#7 adds some cleanups.
Guangbin Huang (2): net: hns3: skip periodic service task if reset failed net: hns3: fix a typo in struct hclge_mac Guojia Liao (1): net: hns3: remove some unused function hns3_update_promisc_mode() Huazhong Tan (4): net: hns3: narrow two local variable range in hclgevf_reset_prepare_wait() net: hns3: remove unused field 'io_base' in struct hns3_enet_ring net: hns3: remove unused field 'tc_num_last_time' in struct hclge_dev net: hns3: remove some unused macros related to queue drivers/net/ethernet/hisilicon/hns3/hns3_enet.c | 16 ---------------- drivers/net/ethernet/hisilicon/hns3/hns3_enet.h | 7 ------- drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 3 +++ drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h | 3 +-- .../net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c | 15 +++++++++------ 5 files changed, 13 insertions(+), 31 deletions(-) -- 2.7.4