Commit 97d6a3e6 authored by Zhengchao Shao's avatar Zhengchao Shao Committed by Jakub Kicinski

net: hinic: remove duplicate macro definition

The macro HINIC_WAIT_SRIOV_CFG_TIMEOUT is defined twice, remove one.
Signed-off-by: default avatarZhengchao Shao <shaozhengchao@huawei.com>
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 2fa1cd3b
...@@ -1380,8 +1380,6 @@ static int hinic_probe(struct pci_dev *pdev, ...@@ -1380,8 +1380,6 @@ static int hinic_probe(struct pci_dev *pdev,
return err; return err;
} }
#define HINIC_WAIT_SRIOV_CFG_TIMEOUT 15000
static void wait_sriov_cfg_complete(struct hinic_dev *nic_dev) static void wait_sriov_cfg_complete(struct hinic_dev *nic_dev)
{ {
struct hinic_sriov_info *sriov_info = &nic_dev->sriov_info; struct hinic_sriov_info *sriov_info = &nic_dev->sriov_info;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment