diff mbox

ALSA: hda - if statement not indented

Message ID 20140514141831.GA18082@mwanda (mailing list archive)
State Accepted
Commit d576422eda7fc999bf7c9862fa0a75bf0323417f
Delegated to: Takashi Iwai
Headers show

Commit Message

Dan Carpenter May 14, 2014, 2:18 p.m. UTC
The "break;" should be indented.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>

Comments

Takashi Iwai May 14, 2014, 2:48 p.m. UTC | #1
At Wed, 14 May 2014 17:18:31 +0300,
Dan Carpenter wrote:
> 
> The "break;" should be indented.
> 
> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>

Applied, thanks.


Takashi

> 
> diff --git a/sound/pci/hda/hda_generic.c b/sound/pci/hda/hda_generic.c
> index 1613388..589e47c 100644
> --- a/sound/pci/hda/hda_generic.c
> +++ b/sound/pci/hda/hda_generic.c
> @@ -3722,7 +3722,7 @@ static void parse_digital(struct hda_codec *codec)
>  		} else {
>  			spec->multiout.slave_dig_outs = spec->slave_dig_outs;
>  			if (nums >= ARRAY_SIZE(spec->slave_dig_outs) - 1)
> -			break;
> +				break;
>  			spec->slave_dig_outs[nums - 1] = dig_nid;
>  		}
>  		nums++;
>
diff mbox

Patch

diff --git a/sound/pci/hda/hda_generic.c b/sound/pci/hda/hda_generic.c
index 1613388..589e47c 100644
--- a/sound/pci/hda/hda_generic.c
+++ b/sound/pci/hda/hda_generic.c
@@ -3722,7 +3722,7 @@  static void parse_digital(struct hda_codec *codec)
 		} else {
 			spec->multiout.slave_dig_outs = spec->slave_dig_outs;
 			if (nums >= ARRAY_SIZE(spec->slave_dig_outs) - 1)
-			break;
+				break;
 			spec->slave_dig_outs[nums - 1] = dig_nid;
 		}
 		nums++;