Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 55f5c3c5 authored by Sathya Perla's avatar Sathya Perla Committed by David S. Miller
Browse files

be2net: fix wrong handling of be_setup() failure in be_probe()

parent 5ee4979b
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -3889,7 +3889,7 @@ static int __devinit be_probe(struct pci_dev *pdev,

	status = be_setup(adapter);
	if (status)
		goto msix_disable;
		goto stats_clean;

	be_netdev_init(netdev);
	status = register_netdev(netdev);
@@ -3910,8 +3910,6 @@ static int __devinit be_probe(struct pci_dev *pdev,

unsetup:
	be_clear(adapter);
msix_disable:
	be_msix_disable(adapter);
stats_clean:
	be_stats_cleanup(adapter);
ctrl_clean: