linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] rt2x00: remove unused variable
@ 2008-01-13 18:48 Stefano Brivio
  2008-01-13 19:14 ` [Rt2400-devel] " Ivo van Doorn
  0 siblings, 1 reply; 9+ 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] 9+ messages in thread
* [PATCH] rt2x00: remove unused variable
@ 2007-12-19  0:43 Stefano Brivio
  0 siblings, 0 replies; 9+ 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] 9+ messages in thread

end of thread, other threads:[~2008-01-15 18:24 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-13 18:48 [PATCH] rt2x00: remove unused variable Stefano Brivio
2008-01-13 19:14 ` [Rt2400-devel] " Ivo van Doorn
2008-01-13 19:16   ` Stefano Brivio
2008-01-13 21:48     ` Ivo van Doorn
2008-01-13 22:11       ` Michael Buesch
2008-01-13 22:30         ` Ivo van Doorn
2008-01-15 18:13           ` John W. Linville
2008-01-13 19:31   ` Michael Buesch
  -- strict thread matches above, loose matches on Subject: below --
2007-12-19  0:43 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).