From: Johan Hovold Date: Mon, 26 May 2014 17:23:00 +0000 (+0200) Subject: USB: sierra: remove unused variable X-Git-Tag: MMI-PSA29.97-13-9~11772^2~37^2~131 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=bc03cfe84d833a49a0a0a6d5e45fc84169f48e30;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git USB: sierra: remove unused variable Remove unused variable from sierra_release_urb. Signed-off-by: Johan Hovold Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/serial/sierra.c b/drivers/usb/serial/sierra.c index 169899f5f2e6..fa0b78ad42d7 100644 --- a/drivers/usb/serial/sierra.c +++ b/drivers/usb/serial/sierra.c @@ -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); }