net: hinic: remove duplicate macro definition
authorZhengchao Shao <shaozhengchao@huawei.com>
Wed, 21 Sep 2022 12:33:53 +0000 (20:33 +0800)
committerJakub Kicinski <kuba@kernel.org>
Fri, 23 Sep 2022 00:41:27 +0000 (17:41 -0700)
The macro HINIC_WAIT_SRIOV_CFG_TIMEOUT is defined twice, remove one.

Signed-off-by: Zhengchao Shao <shaozhengchao@huawei.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/huawei/hinic/hinic_main.c

index 037170c..e1f54a2 100644 (file)
@@ -1380,8 +1380,6 @@ err_pci_regions:
        return err;
 }
 
-#define HINIC_WAIT_SRIOV_CFG_TIMEOUT   15000
-
 static void wait_sriov_cfg_complete(struct hinic_dev *nic_dev)
 {
        struct hinic_sriov_info *sriov_info = &nic_dev->sriov_info;