USB: usb_wwan: remove comment from close
authorJohan Hovold <jhovold@gmail.com>
Mon, 26 May 2014 17:23:28 +0000 (19:23 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 May 2014 22:04:08 +0000 (15:04 -0700)
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>
drivers/usb/serial/usb_wwan.c

index 45bc11b..5042faa 100644 (file)
@@ -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);