Skip to contentSkip to conversation

Removes unused variable from /sound/usb/usx2y/usbusx2yaudio.c

PATCH In review Telemaque Ndizihiwe 2 participants 2 messages Mar 5, 2005 Sound

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Removes unused variable from /sound/usb/usx2y/usbusx2yaudio.c

This Patch removes unused variable from /sound/usb/usx2y/usbusx2yaudio.c in kernel 2.6.11

sound/usb/usx2y/usbusx2yaudio.c renamed from sound/usb/usx2y/usbusx2yaudio.c.orig +0 -1
@@ -415,7 +415,6 @@ static int usX2Y_urbs_allocate(snd_usX2Y
 	unsigned int pipe;
 	int is_playback = subs == subs->usX2Y->subs[SNDRV_PCM_STREAM_PLAYBACK];
 	struct usb_device *dev = subs->usX2Y->chip.dev;
-	struct usb_host_endpoint *ep;
 
 	pipe = is_playback ? usb_sndisocpipe(dev, subs->endpoint) :
 			usb_rcvisocpipe(dev, subs->endpoint);
#1 lore raw
Quoted 11 lines · Telemaque Ndizihiwe

This Patch removes unused variable from /sound/usb/usx2y/usbusx2yaudio.c in kernel 2.6.11

--- linux-2.6.11/sound/usb/usx2y/usbusx2yaudio.c.orig 2005-03-05
17:05:20.165551616 +0000
+++ linux-2.6.11/sound/usb/usx2y/usbusx2yaudio.c 2005-03-05
17:09:43.072583672 +0000

sound/usb/usx2y/usbusx2yaudio.c static int usX2Y_urbs_allocate(snd_usX2Y · line 419

Quoted 6 lines
sound/usb/usx2y/usbusx2yaudio.c renamed from sound/usb/usx2y/usbusx2yaudio.c.orig +0 -1
@@ -415,7 +415,6 @@ static int usX2Y_urbs_allocate(snd_usX2Y
 	unsigned int pipe;
 	int is_playback = subs == 
 	subs->usX2Y->subs[SNDRV_PCM_STREAM_PLAYBACK];
 	struct usb_device *dev = subs->usX2Y->chip.dev;
-	struct usb_host_endpoint *ep;
...

Already fixed in the ALSA tree and therefore in -mm.

cu
Adrian

Signature · 4 lines
       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed