提交 bc03cfe8 编写于 作者: J Johan Hovold 提交者: Greg Kroah-Hartman

USB: sierra: remove unused variable

Remove unused variable from sierra_release_urb.
Signed-off-by: NJohan Hovold <jhovold@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 21aa1c41
......@@ -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);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册