mirror of https://gitee.com/openkylin/linux.git
net: hns3: Remove some redundant assignments
Remove some redundant assignments, because they have been set to zero when allocate hdev. Signed-off-by: Jian Shen <shenjian15@huawei.com> Signed-off-by: Peng Li <lipeng321@huawei.com> Signed-off-by: Salil Mehta <salil.mehta@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
eae249b27f
commit
646cb51228
|
@ -5595,8 +5595,6 @@ static int hclge_init_ae_dev(struct hnae3_ae_dev *ae_dev)
|
|||
hdev->pdev = pdev;
|
||||
hdev->ae_dev = ae_dev;
|
||||
hdev->reset_type = HNAE3_NONE_RESET;
|
||||
hdev->reset_request = 0;
|
||||
hdev->reset_pending = 0;
|
||||
ae_dev->priv = hdev;
|
||||
|
||||
ret = hclge_pci_init(hdev);
|
||||
|
|
Loading…
Reference in New Issue