obsolete config in kernel source: HSO_AUTOPM
CONFIG_HSO_AUTOPM is set by KConfig / set in the Kernel source, makefiles and won't be ever set this way, therefor simply removing the protected code. Signed-off-by: Christoph Egger <siccegge@stud.informatik.uni-erlangen.de> Cc: "David S. Miller" <davem@davemloft.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
6329da5f25
commit
4d823be98c
@ -1155,9 +1155,6 @@ static void _hso_serial_set_termios(struct tty_struct *tty,
|
|||||||
static void hso_resubmit_rx_bulk_urb(struct hso_serial *serial, struct urb *urb)
|
static void hso_resubmit_rx_bulk_urb(struct hso_serial *serial, struct urb *urb)
|
||||||
{
|
{
|
||||||
int result;
|
int result;
|
||||||
#ifdef CONFIG_HSO_AUTOPM
|
|
||||||
usb_mark_last_busy(urb->dev);
|
|
||||||
#endif
|
|
||||||
/* We are done with this URB, resubmit it. Prep the USB to wait for
|
/* We are done with this URB, resubmit it. Prep the USB to wait for
|
||||||
* another frame */
|
* another frame */
|
||||||
usb_fill_bulk_urb(urb, serial->parent->usb,
|
usb_fill_bulk_urb(urb, serial->parent->usb,
|
||||||
|
Loading…
Reference in New Issue
Block a user