Skip to content

Commit a274bdb

Browse files
andy-shevtsbogend
authored andcommitted
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 <[email protected]> Signed-off-by: Thomas Bogendoerfer <[email protected]>
1 parent c91cf42 commit a274bdb

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

arch/mips/pci/pci-bcm47xx.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,12 +93,10 @@ int pcibios_plat_dev_init(struct pci_dev *dev)
9393
#ifdef CONFIG_BCM47XX_SSB
9494
if (bcm47xx_bus_type == BCM47XX_BUS_TYPE_SSB)
9595
return bcm47xx_pcibios_plat_dev_init_ssb(dev);
96-
else
9796
#endif
9897
#ifdef CONFIG_BCM47XX_BCMA
9998
if (bcm47xx_bus_type == BCM47XX_BUS_TYPE_BCMA)
10099
return bcm47xx_pcibios_plat_dev_init_bcma(dev);
101-
else
102100
#endif
103-
return 0;
101+
return 0;
104102
}

0 commit comments

Comments
 (0)