mirror of
https://github.com/torvalds/linux.git
synced 2024-12-14 23:25:54 +00:00
USB: sierra: remove unused variable
Remove unused variable from sierra_release_urb. Signed-off-by: Johan Hovold <jhovold@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
21aa1c41db
commit
bc03cfe84d
@ -419,9 +419,7 @@ static int sierra_tiocmset(struct tty_struct *tty,
|
||||
|
||||
static void sierra_release_urb(struct urb *urb)
|
||||
{
|
||||
struct usb_serial_port *port;
|
||||
if (urb) {
|
||||
port = urb->context;
|
||||
kfree(urb->transfer_buffer);
|
||||
usb_free_urb(urb);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user