OSDN Git Service

ALSA: echoaudio: Remove redundant check
authorMark Hills <mark@xwax.org>
Wed, 8 Jul 2020 10:18:44 +0000 (11:18 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 9 Jul 2020 10:57:59 +0000 (12:57 +0200)
commitdb091b0e14239f0ebd5709f3f9b5a1d662483adc
tree052540d1e95ce6cc8f826ef1bda13a49ecb17625
parentec03370e6d8a64ef01e9318229d7076048b0d23c
ALSA: echoaudio: Remove redundant check

This check is always false, as it's not the responsibilty of the
device-specific code to make this check. It is already checked
in snd_echo_digital_mode_put.

I do not have a Mona interface to test this change.

This patch is in preparation for follow-up patch to modify the
behavior of "opencount".

Signed-off-by: Mark Hills <mark@xwax.org>
Link: https://lore.kernel.org/r/20200708101848.3457-1-mark@xwax.org
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/echoaudio/mona_dsp.c