]> git.alsa-project.org Git - alsa-lib.git/commit
mixer: Remove redundant CHECK_ENUM() from snd_mixer_selem_is_enum*()
authorTakashi Iwai <tiwai@suse.de>
Tue, 13 Mar 2012 13:30:22 +0000 (14:30 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 13 Mar 2012 13:30:22 +0000 (14:30 +0100)
commit2ab86d96c9c9f63212eee89f92f516d537b086e1
treea66049bb71a688b92cbfedfdca033cef1c6eb71b
parent947d208076e3e7e7ff167833ec3335804a6b7d2a
mixer: Remove redundant CHECK_ENUM() from snd_mixer_selem_is_enum*()

The functions to check whether the element is an enum don't need the
extra check of the type.  It should return simply 0 or 1 without error.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
src/mixer/simple.c