aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial
diff options
context:
space:
mode:
authorJohan Hovold <jhovold@gmail.com>2014-05-26 19:23:28 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-05-27 15:04:08 -0700
commit9fdf7063ec9e239f309e79b65fc62fd8bfa9da5c (patch)
tree15b978a347e5c687783f8f3b9e714bdeb0ced12b /drivers/usb/serial
parentUSB: usb_wwan: clean up delayed-urb submission (diff)
downloadlinux-dev-9fdf7063ec9e239f309e79b65fc62fd8bfa9da5c.tar.xz
linux-dev-9fdf7063ec9e239f309e79b65fc62fd8bfa9da5c.zip
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')
-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);