Parcourir la source

ALSA: seq: seq_memory.c: Fix closing brace followed by if

Add a newline and, while at it, remove a space and redundant braces.

Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Rasmus Villemoes il y a 11 ans
Parent
commit
b245a822a4
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      sound/core/seq/seq_memory.c

+ 2 - 2
sound/core/seq/seq_memory.c

@@ -101,9 +101,9 @@ int snd_seq_dump_var_event(const struct snd_seq_event *event,
 			len -= size;
 		}
 		return 0;
-	} if (! (event->data.ext.len & SNDRV_SEQ_EXT_CHAINED)) {
-		return func(private_data, event->data.ext.ptr, len);
 	}
+	if (!(event->data.ext.len & SNDRV_SEQ_EXT_CHAINED))
+		return func(private_data, event->data.ext.ptr, len);
 
 	cell = (struct snd_seq_event_cell *)event->data.ext.ptr;
 	for (; len > 0 && cell; cell = cell->next) {