diff options
author | Sachin Kamat <sachin.kamat@samsung.com> | 2014-07-01 07:32:57 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-07-01 08:06:24 -0400 |
commit | 427f42e4cf3a681d181fd1f0492731b167807877 (patch) | |
tree | 082e90730102c4e14d9bdbc22ecf4ee768207b46 /sound/pci | |
parent | 178942b69f4eb695bfb92742b6082052d6730ca0 (diff) |
ALSA: echoaudio: Remove unused variable
'chip' is not used in the function. Remove it.
Signed-off-by: Sachin Kamat <sachin.kamat@samsung.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci')
-rw-r--r-- | sound/pci/echoaudio/echoaudio.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sound/pci/echoaudio/echoaudio.c b/sound/pci/echoaudio/echoaudio.c index 9f10c9e0df5e..631aaa4046ad 100644 --- a/sound/pci/echoaudio/echoaudio.c +++ b/sound/pci/echoaudio/echoaudio.c | |||
@@ -1754,9 +1754,6 @@ static struct snd_kcontrol_new snd_echo_vumeters_switch = { | |||
1754 | static int snd_echo_vumeters_info(struct snd_kcontrol *kcontrol, | 1754 | static int snd_echo_vumeters_info(struct snd_kcontrol *kcontrol, |
1755 | struct snd_ctl_elem_info *uinfo) | 1755 | struct snd_ctl_elem_info *uinfo) |
1756 | { | 1756 | { |
1757 | struct echoaudio *chip; | ||
1758 | |||
1759 | chip = snd_kcontrol_chip(kcontrol); | ||
1760 | uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; | 1757 | uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; |
1761 | uinfo->count = 96; | 1758 | uinfo->count = 96; |
1762 | uinfo->value.integer.min = ECHOGAIN_MINOUT; | 1759 | uinfo->value.integer.min = ECHOGAIN_MINOUT; |
@@ -1798,9 +1795,6 @@ static struct snd_kcontrol_new snd_echo_vumeters = { | |||
1798 | static int snd_echo_channels_info_info(struct snd_kcontrol *kcontrol, | 1795 | static int snd_echo_channels_info_info(struct snd_kcontrol *kcontrol, |
1799 | struct snd_ctl_elem_info *uinfo) | 1796 | struct snd_ctl_elem_info *uinfo) |
1800 | { | 1797 | { |
1801 | struct echoaudio *chip; | ||
1802 | |||
1803 | chip = snd_kcontrol_chip(kcontrol); | ||
1804 | uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; | 1798 | uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; |
1805 | uinfo->count = 6; | 1799 | uinfo->count = 6; |
1806 | uinfo->value.integer.min = 0; | 1800 | uinfo->value.integer.min = 0; |