diff options
-rw-r--r-- | drivers/net/benet/be_main.c | 8 |
1 files changed, 3 insertions, 5 deletions
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, | |||
2959 | if (status) | 2959 | if (status) |
2960 | goto ctrl_clean; | 2960 | goto ctrl_clean; |
2961 | 2961 | ||
2962 | if (be_physfn(adapter)) { | 2962 | status = be_cmd_reset_function(adapter); |
2963 | status = be_cmd_reset_function(adapter); | 2963 | if (status) |
2964 | if (status) | 2964 | goto ctrl_clean; |
2965 | goto ctrl_clean; | ||
2966 | } | ||
2967 | 2965 | ||
2968 | status = be_stats_init(adapter); | 2966 | status = be_stats_init(adapter); |
2969 | if (status) | 2967 | if (status) |