summaryrefslogtreecommitdiff
path: root/arch/mips/pci/pci-bcm47xx.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2021-10-13 16:49:39 +0300
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2021-10-18 18:10:48 +0200
commita274bdbdfcf7d0631004b20c03d90bbfed70c9d2 (patch)
tree08a8b3ba4ebb2e8f4ceb633ebe2115c14af6723d /arch/mips/pci/pci-bcm47xx.c
parentc91cf42f61dc77b289784ea7b15a8531defa41c0 (diff)
bcm47xx: Get rid of redundant 'else'
In the snipped like if (...) return ...; else the 'else' is redundant. Get rid of it. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch/mips/pci/pci-bcm47xx.c')
-rw-r--r--arch/mips/pci/pci-bcm47xx.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/mips/pci/pci-bcm47xx.c b/arch/mips/pci/pci-bcm47xx.c
index 230d7dd273e2..e8ff8e32a729 100644
--- a/arch/mips/pci/pci-bcm47xx.c
+++ b/arch/mips/pci/pci-bcm47xx.c
@@ -93,12 +93,10 @@ int pcibios_plat_dev_init(struct pci_dev *dev)
#ifdef CONFIG_BCM47XX_SSB
if (bcm47xx_bus_type == BCM47XX_BUS_TYPE_SSB)
return bcm47xx_pcibios_plat_dev_init_ssb(dev);
- else
#endif
#ifdef CONFIG_BCM47XX_BCMA
if (bcm47xx_bus_type == BCM47XX_BUS_TYPE_BCMA)
return bcm47xx_pcibios_plat_dev_init_bcma(dev);
- else
#endif
- return 0;
+ return 0;
}