diff options
author | Zhengchao Shao <shaozhengchao@huawei.com> | 2022-09-21 20:33:53 +0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-09-22 17:41:27 -0700 |
commit | 97d6a3e642bfe1671c746d6bed478eabf2c23d73 (patch) | |
tree | 6a2c9bcd970d16fdb96c2e9b49962165c52ab996 /drivers/net/ethernet/huawei | |
parent | 2fa1cd3b4a0dd8a5c3e73db9cbb29e05bbc996a2 (diff) |
net: hinic: remove duplicate macro definition
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>
Diffstat (limited to 'drivers/net/ethernet/huawei')
-rw-r--r-- | drivers/net/ethernet/huawei/hinic/hinic_main.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/huawei/hinic/hinic_main.c b/drivers/net/ethernet/huawei/hinic/hinic_main.c index 037170c8f379..e1f54a2f28b2 100644 --- a/drivers/net/ethernet/huawei/hinic/hinic_main.c +++ b/drivers/net/ethernet/huawei/hinic/hinic_main.c @@ -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; |