summaryrefslogtreecommitdiffstats
path: root/arch/mips/bcm47xx/board.c
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2014-12-10 17:38:26 +0100
committerRalf Baechle <ralf@linux-mips.org>2015-04-01 17:22:10 +0200
commitd548ca6b0784a99f0fcae397f115823ccd0361a5 (patch)
tree17a178461b3762bc78c301892abeeec4fcaf7d16 /arch/mips/bcm47xx/board.c
parent05f5507f59d6d3eab1c2172c6266b664b61599b5 (diff)
downloadblackbird-op-linux-d548ca6b0784a99f0fcae397f115823ccd0361a5.tar.gz
blackbird-op-linux-d548ca6b0784a99f0fcae397f115823ccd0361a5.zip
MIPS: BCM47XX: Fix coding style to match kernel standards
[ralf@linux-mips.org: Fixed conflicts.] Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Acked-by: Hauke Mehrtens <hauke@hauke-m.de> Cc: linux-mips@linux-mips.org Cc: Paul Walmsley <paul@pwsan.com> Patchwork: https://patchwork.linux-mips.org/patch/8665/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/bcm47xx/board.c')
-rw-r--r--arch/mips/bcm47xx/board.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/mips/bcm47xx/board.c b/arch/mips/bcm47xx/board.c
index 6e8513068325..d4a5a51ce232 100644
--- a/arch/mips/bcm47xx/board.c
+++ b/arch/mips/bcm47xx/board.c
@@ -330,9 +330,8 @@ void __init bcm47xx_board_detect(void)
err = bcm47xx_nvram_getenv("boardtype", buf, sizeof(buf));
/* init of nvram failed, probably too early now */
- if (err == -ENXIO) {
+ if (err == -ENXIO)
return;
- }
board_detected = bcm47xx_board_get_nvram();
bcm47xx_board.board = board_detected->board;
OpenPOWER on IntegriCloud