From: Clemens Ladisch Date: Mon, 14 Jan 2008 07:49:35 +0000 (+0100) Subject: pcm plug plugin: remove duplicated expression X-Git-Tag: v1.0.16rc1~12 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=cf822aceef89d757ac2c464c4964e9e5ed918073;p=alsa-lib.git pcm plug plugin: remove duplicated expression Remove a needlessly duplicated expression. --- diff --git a/src/pcm/pcm_plug.c b/src/pcm/pcm_plug.c index ee74f44f..561e1636 100644 --- a/src/pcm/pcm_plug.c +++ b/src/pcm/pcm_plug.c @@ -708,7 +708,7 @@ static int snd_pcm_plug_hw_refine_schange(snd_pcm_t *pcm, snd_pcm_hw_params_t *p const snd_interval_t *srate, *crate; if (plug->srate == -2 || - (pcm->mode & pcm->mode & SND_PCM_NO_AUTO_RESAMPLE) || + (pcm->mode & SND_PCM_NO_AUTO_RESAMPLE) || (params->flags & SND_PCM_HW_PARAMS_NORESAMPLE)) links |= SND_PCM_HW_PARBIT_RATE; else {