mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2026-02-28 01:40:08 -05:00
pcm: remove dead assignments from snd_pcm_rate_(commit_area|grab_next_period)
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
aa28847248
commit
2e470d59d8
1 changed files with 0 additions and 2 deletions
|
|
@ -746,7 +746,6 @@ static int snd_pcm_rate_commit_area(snd_pcm_t *pcm, snd_pcm_rate_t *rate,
|
||||||
if (result < 0)
|
if (result < 0)
|
||||||
return result;
|
return result;
|
||||||
__partial:
|
__partial:
|
||||||
xfer = 0;
|
|
||||||
cont = slave_frames;
|
cont = slave_frames;
|
||||||
if (cont > slave_size)
|
if (cont > slave_size)
|
||||||
cont = slave_size;
|
cont = slave_size;
|
||||||
|
|
@ -846,7 +845,6 @@ static int snd_pcm_rate_grab_next_period(snd_pcm_t *pcm, snd_pcm_uframes_t hw_of
|
||||||
if (result < 0)
|
if (result < 0)
|
||||||
return result;
|
return result;
|
||||||
__partial:
|
__partial:
|
||||||
xfer = 0;
|
|
||||||
cont = slave_frames;
|
cont = slave_frames;
|
||||||
if (cont > rate->gen.slave->period_size)
|
if (cont > rate->gen.slave->period_size)
|
||||||
cont = rate->gen.slave->period_size;
|
cont = rate->gen.slave->period_size;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue