Commit a4b4dfab authored by Ajit Khaparde's avatar Ajit Khaparde Committed by David S. Miller

be2net: Allow VFs to call be_cmd_reset_function.

Signed-off-by: default avatarAjit Khaparde <ajit.khaparde@emulex.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent f8617e08
...@@ -2959,11 +2959,9 @@ static int __devinit be_probe(struct pci_dev *pdev, ...@@ -2959,11 +2959,9 @@ static int __devinit be_probe(struct pci_dev *pdev,
if (status) if (status)
goto ctrl_clean; goto ctrl_clean;
if (be_physfn(adapter)) {
status = be_cmd_reset_function(adapter); status = be_cmd_reset_function(adapter);
if (status) if (status)
goto ctrl_clean; goto ctrl_clean;
}
status = be_stats_init(adapter); status = be_stats_init(adapter);
if (status) if (status)
......
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