]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8b7bc39ce75bdb106627b0fceae0791e919adc91
tree48b3f7512f132b6b518b197bdb9b4562bb24668c
parent9e96807691a2c19aed003edebff852d066512904
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