* [PATCH] rt2x00: remove unused variable
@ 2007-12-19 0:43 Stefano Brivio
0 siblings, 0 replies; 2+ messages in thread
From: Stefano Brivio @ 2007-12-19 0:43 UTC (permalink / raw)
To: John W. Linville; +Cc: linux-wireless, rt2400-devel
Remove an unused variable. Note that the pipe obtained there isn't used as
well.
Signed-off-by: Stefano Brivio <stefano.brivio@polimi.it>
---
Index: wireless-2.6/drivers/net/wireless/rt2x00/rt2x00usb.c
===================================================================
--- wireless-2.6.orig/drivers/net/wireless/rt2x00/rt2x00usb.c
+++ wireless-2.6/drivers/net/wireless/rt2x00/rt2x00usb.c
@@ -176,7 +176,6 @@ int rt2x00usb_write_tx_data(struct rt2x0
struct usb_device *usb_dev =
interface_to_usbdev(rt2x00dev_usb(rt2x00dev));
struct data_entry *entry = rt2x00_get_data_entry(ring);
- int pipe = usb_sndbulkpipe(usb_dev, 1);
struct skb_desc *desc;
u32 length;
--
Ciao
Stefano
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH] rt2x00: remove unused variable
@ 2008-01-13 18:48 Stefano Brivio
0 siblings, 0 replies; 2+ messages in thread
From: Stefano Brivio @ 2008-01-13 18:48 UTC (permalink / raw)
To: John W. Linville, rt2400-devel; +Cc: linux-wireless
Remove an unused variable that caused a warning while building. Please note
that the pipe obtained there isn't used anywhere else.
Signed-off-by: Stefano Brivio <stefano.brivio@polimi.it>
---
Index: wireless-2.6/drivers/net/wireless/rt2x00/rt2x00usb.c
===================================================================
--- wireless-2.6.orig/drivers/net/wireless/rt2x00/rt2x00usb.c
+++ wireless-2.6/drivers/net/wireless/rt2x00/rt2x00usb.c
@@ -176,7 +176,6 @@ int rt2x00usb_write_tx_data(struct rt2x0
struct usb_device *usb_dev =
interface_to_usbdev(rt2x00dev_usb(rt2x00dev));
struct data_entry *entry = rt2x00_get_data_entry(ring);
- int pipe = usb_sndbulkpipe(usb_dev, 1);
struct skb_desc *desc;
u32 length;
--
Ciao
Stefano
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-01-13 18:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-19 0:43 [PATCH] rt2x00: remove unused variable Stefano Brivio
-- strict thread matches above, loose matches on Subject: below --
2008-01-13 18:48 Stefano Brivio
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).