Skip to content

Commit

Permalink
ALSA: sound/ice1712: indentation & braces disagree - add braces
Browse files Browse the repository at this point in the history
Neither has any significance currently to the flow
because err is checked for the same condition before
the place of disagreement.

Signed-off-by: Ilpo Järvinen <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
  • Loading branch information
ij1 authored and tiwai committed Oct 30, 2008
1 parent e273626 commit 8cd2b26
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions sound/pci/ice1712/ice1712.c
Original file line number Diff line number Diff line change
Expand Up @@ -2688,12 +2688,13 @@ static int __devinit snd_ice1712_probe(struct pci_dev *pci,
return err;
}

if (ice_has_con_ac97(ice))
if (ice_has_con_ac97(ice)) {
err = snd_ice1712_pcm(ice, pcm_dev++, NULL);
if (err < 0) {
snd_card_free(card);
return err;
}
}

err = snd_ice1712_ac97_mixer(ice);
if (err < 0) {
Expand All @@ -2715,12 +2716,13 @@ static int __devinit snd_ice1712_probe(struct pci_dev *pci,
}
}

if (ice_has_con_ac97(ice))
if (ice_has_con_ac97(ice)) {
err = snd_ice1712_pcm_ds(ice, pcm_dev++, NULL);
if (err < 0) {
snd_card_free(card);
return err;
}
}

if (!c->no_mpu401) {
err = snd_mpu401_uart_new(card, 0, MPU401_HW_ICE1712,
Expand Down

0 comments on commit 8cd2b26

Please sign in to comment.