* [2.6 patch] usbusx2yaudio.c: remove an unused variable
@ 2005-01-30 13:03 Adrian Bunk
2005-01-31 13:44 ` [Alsa-devel] " Takashi Iwai
0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2005-01-30 13:03 UTC (permalink / raw)
To: greg, perex; +Cc: alsa-devel, linux-usb-devel, linux-kernel
In 2.6.11-rc a completely unused variable was added, resulting in the
following compile warning:
<-- snip -->
...
CC sound/usb/usx2y/usx2yhwdeppcm.o
In file included from sound/usb/usx2y/usx2yhwdeppcm.c:53:
sound/usb/usx2y/usbusx2yaudio.c: In function `usX2Y_urbs_allocate':
sound/usb/usx2y/usbusx2yaudio.c:418: warning: unused variable `ep'
...
<-- snip -->
This patch removes this unused variable.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
--- linux-2.6.11-rc2-mm2-full/sound/usb/usx2y/usbusx2yaudio.c.old 2005-01-30 12:26:58.000000000 +0100
+++ linux-2.6.11-rc2-mm2-full/sound/usb/usx2y/usbusx2yaudio.c 2005-01-30 12:27:03.000000000 +0100
@@ -415,7 +415,6 @@
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);
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Alsa-devel] [2.6 patch] usbusx2yaudio.c: remove an unused variable
2005-01-30 13:03 [2.6 patch] usbusx2yaudio.c: remove an unused variable Adrian Bunk
@ 2005-01-31 13:44 ` Takashi Iwai
0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2005-01-31 13:44 UTC (permalink / raw)
To: Adrian Bunk; +Cc: greg, perex, alsa-devel, linux-usb-devel, linux-kernel
At Sun, 30 Jan 2005 14:03:14 +0100,
Adrian Bunk wrote:
>
> In 2.6.11-rc a completely unused variable was added, resulting in the
> following compile warning:
>
> <-- snip -->
>
> ...
> CC sound/usb/usx2y/usx2yhwdeppcm.o
> In file included from sound/usb/usx2y/usx2yhwdeppcm.c:53:
> sound/usb/usx2y/usbusx2yaudio.c: In function `usX2Y_urbs_allocate':
> sound/usb/usx2y/usbusx2yaudio.c:418: warning: unused variable `ep'
> ...
>
> <-- snip -->
>
>
> This patch removes this unused variable.
>
>
> Signed-off-by: Adrian Bunk <bunk@stusta.de>
Thanks. It's already fixed in ALSA tree.
Takashi
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-01-31 13:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-30 13:03 [2.6 patch] usbusx2yaudio.c: remove an unused variable Adrian Bunk
2005-01-31 13:44 ` [Alsa-devel] " Takashi Iwai
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox