Commit 9fdf7063 authored by Johan Hovold's avatar Johan Hovold Committed by Greg Kroah-Hartman

USB: usb_wwan: remove comment from close

Remove superfluous and cryptic comment from close.

It should be obvious that we're balancing the autopm_put in open (and
that operation already mentions the autopm_get done in the USB serial
core).
Signed-off-by: default avatarJohan Hovold <jhovold@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 3362c91c
...@@ -450,7 +450,6 @@ void usb_wwan_close(struct usb_serial_port *port) ...@@ -450,7 +450,6 @@ void usb_wwan_close(struct usb_serial_port *port)
usb_kill_urb(portdata->out_urbs[i]); usb_kill_urb(portdata->out_urbs[i]);
usb_kill_urb(port->interrupt_in_urb); usb_kill_urb(port->interrupt_in_urb);
/* balancing - important as an error cannot be handled*/
usb_autopm_get_interface_no_resume(serial->interface); usb_autopm_get_interface_no_resume(serial->interface);
} }
EXPORT_SYMBOL(usb_wwan_close); EXPORT_SYMBOL(usb_wwan_close);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment