diff options
Diffstat (limited to 'drivers/net/ethernet/emulex/benet/be_main.c')
-rw-r--r-- | drivers/net/ethernet/emulex/benet/be_main.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/ethernet/emulex/benet/be_main.c b/drivers/net/ethernet/emulex/benet/be_main.c index fa1743036a8..b712091bc21 100644 --- a/drivers/net/ethernet/emulex/benet/be_main.c +++ b/drivers/net/ethernet/emulex/benet/be_main.c | |||
@@ -3889,7 +3889,7 @@ static int __devinit be_probe(struct pci_dev *pdev, | |||
3889 | 3889 | ||
3890 | status = be_setup(adapter); | 3890 | status = be_setup(adapter); |
3891 | if (status) | 3891 | if (status) |
3892 | goto msix_disable; | 3892 | goto stats_clean; |
3893 | 3893 | ||
3894 | be_netdev_init(netdev); | 3894 | be_netdev_init(netdev); |
3895 | status = register_netdev(netdev); | 3895 | status = register_netdev(netdev); |
@@ -3910,8 +3910,6 @@ static int __devinit be_probe(struct pci_dev *pdev, | |||
3910 | 3910 | ||
3911 | unsetup: | 3911 | unsetup: |
3912 | be_clear(adapter); | 3912 | be_clear(adapter); |
3913 | msix_disable: | ||
3914 | be_msix_disable(adapter); | ||
3915 | stats_clean: | 3913 | stats_clean: |
3916 | be_stats_cleanup(adapter); | 3914 | be_stats_cleanup(adapter); |
3917 | ctrl_clean: | 3915 | ctrl_clean: |