USB: cdc-acm: remove redundant usb_mark_last_busy
authorJohan Hovold <jhovold@gmail.com>
Mon, 26 May 2014 17:23:50 +0000 (19:23 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 May 2014 22:04:10 +0000 (15:04 -0700)
commit308fee18e0f06215b47b54a2b254bfaf55527bdd
tree48b3f7512f132b6b518b197bdb9b4562bb24668c
parent4a8ee5059a241114c644350b6cb564c729a340fa
USB: cdc-acm: remove redundant usb_mark_last_busy

There's no need to call usb_mark_last_busy after having increased the PM
counter in write(). The device will be marked busy by USB core when the
PM counter is balanced in the completion handler.

Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/class/cdc-acm.c