mirror of https://gitee.com/openkylin/linux.git
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