Commit a274bdbd authored by Andy Shevchenko's avatar Andy Shevchenko Committed by Thomas Bogendoerfer

bcm47xx: Get rid of redundant 'else'

In the snipped like

	if (...)
		return ...;
	else

the 'else' is redundant. Get rid of it.
Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
parent c91cf42f
...@@ -93,12 +93,10 @@ int pcibios_plat_dev_init(struct pci_dev *dev) ...@@ -93,12 +93,10 @@ int pcibios_plat_dev_init(struct pci_dev *dev)
#ifdef CONFIG_BCM47XX_SSB #ifdef CONFIG_BCM47XX_SSB
if (bcm47xx_bus_type == BCM47XX_BUS_TYPE_SSB) if (bcm47xx_bus_type == BCM47XX_BUS_TYPE_SSB)
return bcm47xx_pcibios_plat_dev_init_ssb(dev); return bcm47xx_pcibios_plat_dev_init_ssb(dev);
else
#endif #endif
#ifdef CONFIG_BCM47XX_BCMA #ifdef CONFIG_BCM47XX_BCMA
if (bcm47xx_bus_type == BCM47XX_BUS_TYPE_BCMA) if (bcm47xx_bus_type == BCM47XX_BUS_TYPE_BCMA)
return bcm47xx_pcibios_plat_dev_init_bcma(dev); return bcm47xx_pcibios_plat_dev_init_bcma(dev);
else
#endif #endif
return 0; return 0;
} }
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