From: Stefano Brivio <stefano.brivio@polimi.it>
To: "John W. Linville" <linville@tuxdriver.com>,
rt2400-devel@lists.sourceforge.net
Cc: linux-wireless@vger.kernel.org
Subject: [PATCH] rt2x00: remove unused variable
Date: Sun, 13 Jan 2008 19:48:34 +0100 [thread overview]
Message-ID: <20080113194834.677af663@morte> (raw)
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
next reply other threads:[~2008-01-13 18:54 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-13 18:48 Stefano Brivio [this message]
2008-01-13 19:14 ` [Rt2400-devel] [PATCH] rt2x00: remove unused variable 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080113194834.677af663@morte \
--to=stefano.brivio@polimi.it \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.com \
--cc=rt2400-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).