mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-04 13:30:08 -05:00
Code clean-up
Small code clean-up
This commit is contained in:
parent
d8f7de1b16
commit
cf6e569bd7
1 changed files with 1 additions and 6 deletions
|
|
@ -244,12 +244,7 @@ static snd_pcm_sframes_t snd_pcm_null_mmap_commit(snd_pcm_t *pcm,
|
||||||
snd_pcm_uframes_t offset ATTRIBUTE_UNUSED,
|
snd_pcm_uframes_t offset ATTRIBUTE_UNUSED,
|
||||||
snd_pcm_uframes_t size)
|
snd_pcm_uframes_t size)
|
||||||
{
|
{
|
||||||
snd_pcm_sframes_t res;
|
return snd_pcm_null_forward(pcm, size);
|
||||||
|
|
||||||
res = snd_pcm_null_forward(pcm, size);
|
|
||||||
if (res < 0)
|
|
||||||
return res;
|
|
||||||
return res;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static snd_pcm_sframes_t snd_pcm_null_avail_update(snd_pcm_t *pcm)
|
static snd_pcm_sframes_t snd_pcm_null_avail_update(snd_pcm_t *pcm)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue