usbusx2yaudio.c: remove an unused variable
PATCH 1/1 usbusx2yaudio.c: remove an unused variable
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.
sound/usb/usx2y/usbusx2yaudio.c renamed from sound/usb/usx2y/usbusx2yaudio.c.old +0 -1
@@ -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);
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl
At Sun, 30 Jan 2005 14:03:14 +0100,
Quoted 13 lines · Adrian Bunk
In 2.6.11-rc a completely unused variable was added, resulting in the following compile warning:
<-- snip -->
...
CCsound/usb/usx2y/usx2yhwdeppcm.o
In file included fromsound/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'
...
Quoted 7 lines
<-- snip -->
This patch removes this unused variable.
Signed-off-by Adrian Bunk <[email protected]>
Thanks. It's already fixed in ALSA tree.
Takashi
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl
At Sun, 30 Jan 2005 14:03:14 +0100,
Quoted 13 lines · Adrian Bunk
In 2.6.11-rc a completely unused variable was added, resulting in the following compile warning:
<-- snip -->
...
CCsound/usb/usx2y/usx2yhwdeppcm.o
In file included fromsound/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'
...
Quoted 7 lines
<-- snip -->
This patch removes this unused variable.
Signed-off-by Adrian Bunk <[email protected]>
Thanks. It's already fixed in ALSA tree.
Takashi