[alsa-devel] [PATCH 21/29] mixer: change code formatting for init_db_range()
Takashi Sakamoto
o-takashi at sakamocchi.jp
Fri Jul 15 02:23:25 CEST 2016
This commit applies code format according to typical and moderate rule.
Signed-off-by: Takashi Sakamoto <o-takashi at sakamocchi.jp>
---
src/mixer/simple_none.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/mixer/simple_none.c b/src/mixer/simple_none.c
index 4bd231c..05dde41 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;
--
2.7.4
More information about the Alsa-devel
mailing list