[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1251068150-15001-1-git-send-email-gustavo@las.ic.unicamp.br>
Date: Sun, 23 Aug 2009 19:55:50 -0300
From: "Gustavo F. Padovan" <gustavo@....ic.unicamp.br>
To: linux-usb@...r.kernel.org
Cc: gustavo@...ovan.org, smurf@...rf.noris.de,
linux-kernel@...r.kernel.org
Subject: [PATCH 1/1] usb: remove unused variable
struct usb_serial *serial is not used.
Signed-off-by: Gustavo F. Padovan <gustavo@....ic.unicamp.br>
---
drivers/usb/serial/option.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c
index 98262dd..77b9563 100644
--- a/drivers/usb/serial/option.c
+++ b/drivers/usb/serial/option.c
@@ -831,7 +831,6 @@ static void option_instat_callback(struct urb *urb)
int status = urb->status;
struct usb_serial_port *port = urb->context;
struct option_port_private *portdata = usb_get_serial_port_data(port);
- struct usb_serial *serial = port->serial;
dbg("%s", __func__);
dbg("%s: urb %p port %p has data %p", __func__, urb, port, portdata);
@@ -927,7 +926,6 @@ static int option_open(struct tty_struct *tty,
struct usb_serial_port *port, struct file *filp)
{
struct option_port_private *portdata;
- struct usb_serial *serial = port->serial;
int i, err;
struct urb *urb;
--
1.6.3.3
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists