diff options
| author | Rasmus Villemoes <linux@rasmusvillemoes.dk> | 2014-06-23 11:56:09 -0400 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2014-06-23 11:58:33 -0400 |
| commit | b245a822a45915f63197d81cb899132e78f29fd8 (patch) | |
| tree | ab47e0bf00e77b66792f5aba2d6aa668c953591e /sound/core/seq | |
| parent | 9c5dc3bf121b10f1324f2bb3b9a6f7645850c40e (diff) | |
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>
Diffstat (limited to 'sound/core/seq')
| -rw-r--r-- | sound/core/seq/seq_memory.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/core/seq/seq_memory.c b/sound/core/seq/seq_memory.c index 1e206de0c2dd..ba8e4a64e13e 100644 --- a/sound/core/seq/seq_memory.c +++ b/sound/core/seq/seq_memory.c | |||
| @@ -101,9 +101,9 @@ int snd_seq_dump_var_event(const struct snd_seq_event *event, | |||
| 101 | len -= size; | 101 | len -= size; |
| 102 | } | 102 | } |
| 103 | return 0; | 103 | return 0; |
| 104 | } if (! (event->data.ext.len & SNDRV_SEQ_EXT_CHAINED)) { | ||
| 105 | return func(private_data, event->data.ext.ptr, len); | ||
| 106 | } | 104 | } |
| 105 | if (!(event->data.ext.len & SNDRV_SEQ_EXT_CHAINED)) | ||
| 106 | return func(private_data, event->data.ext.ptr, len); | ||
| 107 | 107 | ||
| 108 | cell = (struct snd_seq_event_cell *)event->data.ext.ptr; | 108 | cell = (struct snd_seq_event_cell *)event->data.ext.ptr; |
| 109 | for (; len > 0 && cell; cell = cell->next) { | 109 | for (; len > 0 && cell; cell = cell->next) { |
