From: Ajit Khaparde Date: Fri, 11 Feb 2011 13:36:57 +0000 (+0000) Subject: be2net: Allow VFs to call be_cmd_reset_function. X-Git-Tag: MMI-PSA29.97-13-9~20520^2~380 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a4b4dfab6ca808a5d1073cdfb7f39e8ce59f71e2;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git be2net: Allow VFs to call be_cmd_reset_function. Signed-off-by: Ajit Khaparde Signed-off-by: David S. Miller --- diff --git a/drivers/net/benet/be_main.c b/drivers/net/benet/be_main.c index f2d203637846..8975340614b4 100644 --- a/drivers/net/benet/be_main.c +++ b/drivers/net/benet/be_main.c @@ -2959,11 +2959,9 @@ static int __devinit be_probe(struct pci_dev *pdev, if (status) goto ctrl_clean; - if (be_physfn(adapter)) { - status = be_cmd_reset_function(adapter); - if (status) - goto ctrl_clean; - } + status = be_cmd_reset_function(adapter); + if (status) + goto ctrl_clean; status = be_stats_init(adapter); if (status)