summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2016-07-15 09:23:25 +0900
committerTakashi Iwai <tiwai@suse.de>2016-07-15 08:16:34 +0200
commit1ad6d7b8523c0cf308503a8896258c1e47308e48 (patch)
tree4c67d458fd1cc018e607a7f5c6ab79d844a85431
parent60920eb7f37b1bca4a9c96247796da108ab275b5 (diff)
downloadalsa-lib-1ad6d7b8523c0cf308503a8896258c1e47308e48.tar.gz
mixer: change code formatting for init_db_range()
This commit applies code format according to typical and moderate rule. Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r--src/mixer/simple_none.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mixer/simple_none.c b/src/mixer/simple_none.c
index 4bd231ca..05dde413 100644
--- a/src/mixer/simple_none.c
+++ b/src/mixer/simple_none.c
@@ -1112,10 +1112,10 @@ static int init_db_range(snd_hctl_elem_t *ctl, struct selem_str *rec)
snd_ctl_elem_info_alloca(&info);
if (snd_hctl_elem_info(ctl, info) < 0)
goto error;
- if (! snd_ctl_elem_info_is_tlv_readable(info))
+ if (!snd_ctl_elem_info_is_tlv_readable(info))
goto error;
tlv = malloc(tlv_size);
- if (! tlv)
+ if (!tlv)
return -ENOMEM;
if (snd_hctl_elem_tlv_read(ctl, tlv, tlv_size) < 0)
goto error;