Message ID | 1404214378-24669-4-git-send-email-sachin.kamat@samsung.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 427f42e4cf3a681d181fd1f0492731b167807877 |
Delegated to: | Takashi Iwai |
Headers | show |
At Tue, 1 Jul 2014 17:02:57 +0530, Sachin Kamat wrote: > > 'chip' is not used in the function. Remove it. > > Signed-off-by: Sachin Kamat <sachin.kamat@samsung.com> Applied, thanks. Takashi > --- > sound/pci/echoaudio/echoaudio.c | 6 ------ > 1 file changed, 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 = { > static int snd_echo_vumeters_info(struct snd_kcontrol *kcontrol, > struct snd_ctl_elem_info *uinfo) > { > - struct echoaudio *chip; > - > - chip = snd_kcontrol_chip(kcontrol); > uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; > uinfo->count = 96; > uinfo->value.integer.min = ECHOGAIN_MINOUT; > @@ -1798,9 +1795,6 @@ static struct snd_kcontrol_new snd_echo_vumeters = { > static int snd_echo_channels_info_info(struct snd_kcontrol *kcontrol, > struct snd_ctl_elem_info *uinfo) > { > - struct echoaudio *chip; > - > - chip = snd_kcontrol_chip(kcontrol); > uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; > uinfo->count = 6; > uinfo->value.integer.min = 0; > -- > 1.7.9.5 >
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 = { static int snd_echo_vumeters_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) { - struct echoaudio *chip; - - chip = snd_kcontrol_chip(kcontrol); uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; uinfo->count = 96; uinfo->value.integer.min = ECHOGAIN_MINOUT; @@ -1798,9 +1795,6 @@ static struct snd_kcontrol_new snd_echo_vumeters = { static int snd_echo_channels_info_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) { - struct echoaudio *chip; - - chip = snd_kcontrol_chip(kcontrol); uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; uinfo->count = 6; uinfo->value.integer.min = 0;
'chip' is not used in the function. Remove it. Signed-off-by: Sachin Kamat <sachin.kamat@samsung.com> --- sound/pci/echoaudio/echoaudio.c | 6 ------ 1 file changed, 6 deletions(-)