* [PATCH 1/1] usb: remove unused variable
@ 2009-08-23 22:55 Gustavo F. Padovan
2009-08-26 5:26 ` Greg KH
0 siblings, 1 reply; 3+ messages in thread
From: Gustavo F. Padovan @ 2009-08-23 22:55 UTC (permalink / raw)
To: linux-usb; +Cc: gustavo, smurf, linux-kernel
struct usb_serial *serial is not used.
Signed-off-by: Gustavo F. Padovan <gustavo@las.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
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH 1/1] usb: remove unused variable
2009-08-23 22:55 [PATCH 1/1] usb: remove unused variable Gustavo F. Padovan
@ 2009-08-26 5:26 ` Greg KH
2009-08-26 6:49 ` Gustavo F. Padovan
0 siblings, 1 reply; 3+ messages in thread
From: Greg KH @ 2009-08-26 5:26 UTC (permalink / raw)
To: Gustavo F. Padovan; +Cc: linux-usb, gustavo, smurf, linux-kernel
On Sun, Aug 23, 2009 at 07:55:50PM -0300, Gustavo F. Padovan wrote:
> struct usb_serial *serial is not used.
>
> Signed-off-by: Gustavo F. Padovan <gustavo@las.ic.unicamp.br>
What kernel version is this patch against? I think this is already
fixed in linux-next, right?
thanks,
greg k-h
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 1/1] usb: remove unused variable
2009-08-26 5:26 ` Greg KH
@ 2009-08-26 6:49 ` Gustavo F. Padovan
0 siblings, 0 replies; 3+ messages in thread
From: Gustavo F. Padovan @ 2009-08-26 6:49 UTC (permalink / raw)
To: Greg KH; +Cc: linux-usb, smurf, linux-kernel
Hi Greg,
On Wed, Aug 26, 2009 at 2:26 AM, Greg KH<greg@kroah.com> wrote:
> On Sun, Aug 23, 2009 at 07:55:50PM -0300, Gustavo F. Padovan wrote:
>> struct usb_serial *serial is not used.
>>
>> Signed-off-by: Gustavo F. Padovan <gustavo@las.ic.unicamp.br>
>
> What kernel version is this patch against? I think this is already
> fixed in linux-next, right?
Yes, it was fixed in linux-next.
>
> thanks,
>
> greg k-h
>
--
Gustavo F. Padovan
http://padovan.org
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-08-26 6:56 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-23 22:55 [PATCH 1/1] usb: remove unused variable Gustavo F. Padovan
2009-08-26 5:26 ` Greg KH
2009-08-26 6:49 ` Gustavo F. Padovan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®