Skip to contentSkip to conversation

ALSA: usb/mixer.c: remove unused variable

PATCH In review Daniel Mack 3 participants 4 messages May 19, 2010 – May 30, 2010 Sound

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ALSA: usb/mixer.c: remove unused variable

This was a development left-over.

Cc Takashi Iwai <[email protected]>
Cc Clemens Ladisch <[email protected]>
---
 sound/usb/mixer.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
sound/usb/mixer.c +0 -2
index fd3e08d..a35dd74 100644
@@ -1970,8 +1970,6 @@ static void snd_usb_mixer_proc_read(struct snd_info_entry *entry,
 static void snd_usb_mixer_interrupt_v2(struct usb_mixer_interface *mixer,
 				       int attribute, int value, int index)
 {
-	struct usb_mixer_elem_info *info;
-
 	switch (attribute) {
 	case UAC2_CS_CUR:
 		snd_usb_mixer_notify_id(mixer, index);
Signature · 1 line
1.7.1
#1 lore raw

At Wed, 19 May 2010 17:34:45 +0200,

Quoted 6 lines · Daniel Mack

This was a development left-over.

Cc Takashi Iwai <[email protected]>
Cc Clemens Ladisch <[email protected]>

This can't be applied to the latest tree. Missing patches?

Takashi

Quoted 20 lines
---
 sound/usb/mixer.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
sound/usb/mixer.c +0 -2
index fd3e08d..a35dd74 100644
@@ -1970,8 +1970,6 @@ static void snd_usb_mixer_proc_read(struct snd_info_entry *entry,
 static void snd_usb_mixer_interrupt_v2(struct usb_mixer_interface *mixer,
 				       int attribute, int value, int index)
 {
-	struct usb_mixer_elem_info *info;
-
 	switch (attribute) {
 	case UAC2_CS_CUR:
 		snd_usb_mixer_notify_id(mixer, index);
Signature · 1 line
1.7.1
#2 lore raw
Quoted 10 lines · Takashi Iwai

At Wed, 19 May 2010 17:34:45 +0200,

Quoted 6 lines · Daniel Mack

This was a development left-over.

Cc Takashi Iwai <[email protected]>
Cc Clemens Ladisch <[email protected]>

This can't be applied to the latest tree. Missing patches?

Gna, I've been working on a wrong branch, sorry. Please drop this patch.

Daniel

#3 lore raw

Re: Mute LED on HP Pavilion DV7-1160eg

In reply to Takashi Iwai

Hi Takashi,

since you have patched the source code for the control of the Mute LED on HP Pavilion DV7, I could test it for a longer time.

Everything works fine - except shutdown of the computer. I found out, during the shutdown process a short loud hum occurs. This hum is independ of volume and it come also, if sound muted.

I don't know whether this nomal (expected) or anything else is not 100 % OK. What's your opinion ?

Thoralf