Code clean-up

Small code clean-up
This commit is contained in:
Takashi Iwai 2005-02-14 15:48:14 +00:00
parent d8f7de1b16
commit cf6e569bd7

View file

@ -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)