summaryrefslogtreecommitdiff
path: root/drivers/usb/serial/usb_wwan.c
diff options
context:
space:
mode:
authorJohan Hovold <jhovold@gmail.com>2014-05-26 21:23:28 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-05-28 02:04:08 +0400
commit9fdf7063ec9e239f309e79b65fc62fd8bfa9da5c (patch)
tree15b978a347e5c687783f8f3b9e714bdeb0ced12b /drivers/usb/serial/usb_wwan.c
parent3362c91c7841f2e4ab5b1f018a5da0ecbc924894 (diff)
downloadlinux-9fdf7063ec9e239f309e79b65fc62fd8bfa9da5c.tar.xz
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: Johan Hovold <jhovold@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/serial/usb_wwan.c')
-rw-r--r--drivers/usb/serial/usb_wwan.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/serial/usb_wwan.c b/drivers/usb/serial/usb_wwan.c
index 45bc11b2d0ec..5042faa5d588 100644
--- a/drivers/usb/serial/usb_wwan.c
+++ b/drivers/usb/serial/usb_wwan.c
@@ -450,7 +450,6 @@ void usb_wwan_close(struct usb_serial_port *port)
usb_kill_urb(portdata->out_urbs[i]);
usb_kill_urb(port->interrupt_in_urb);
- /* balancing - important as an error cannot be handled*/
usb_autopm_get_interface_no_resume(serial->interface);
}
EXPORT_SYMBOL(usb_wwan_close);