git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net: hinic: fix the issue of double release MBOX callback of VF
[sfrench/cifs-2.6.git]
/
drivers
/
net
/
ethernet
/
huawei
/
hinic
/
hinic_sriov.c
diff --git
a/drivers/net/ethernet/huawei/hinic/hinic_sriov.c
b/drivers/net/ethernet/huawei/hinic/hinic_sriov.c
index a5f08b969e3f68531d9610fc4d626b9657a63bef..f7e05b41385bfcdd1bb1755ccd9d32ab49614561 100644
(file)
--- a/
drivers/net/ethernet/huawei/hinic/hinic_sriov.c
+++ b/
drivers/net/ethernet/huawei/hinic/hinic_sriov.c
@@
-1174,7
+1174,6
@@
int hinic_vf_func_init(struct hinic_hwdev *hwdev)
dev_err(&hwdev->hwif->pdev->dev,
"Failed to register VF, err: %d, status: 0x%x, out size: 0x%x\n",
err, register_info.status, out_size);
- hinic_unregister_vf_mbox_cb(hwdev, HINIC_MOD_L2NIC);
return -EIO;
}
} else {