diff options
author | Christoph Egger <siccegge@stud.informatik.uni-erlangen.de> | 2010-03-11 07:07:54 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-03-15 19:00:48 -0400 |
commit | 4d823be98c5b24d94c7f41a384a4bb60d7848ad5 (patch) | |
tree | 0ba104de56b41f698868cf1c58f4e1a17f6b5c8d /drivers/net/usb/hso.c | |
parent | 6329da5f258ae752d1f33b549bae4f8a20b6871a (diff) |
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>
Diffstat (limited to 'drivers/net/usb/hso.c')
-rw-r--r-- | drivers/net/usb/hso.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/usb/hso.c b/drivers/net/usb/hso.c index 6895f1531238..be0cc99e881a 100644 --- a/drivers/net/usb/hso.c +++ b/drivers/net/usb/hso.c | |||
@@ -1155,9 +1155,6 @@ static void _hso_serial_set_termios(struct tty_struct *tty, | |||
1155 | static void hso_resubmit_rx_bulk_urb(struct hso_serial *serial, struct urb *urb) | 1155 | static void hso_resubmit_rx_bulk_urb(struct hso_serial *serial, struct urb *urb) |
1156 | { | 1156 | { |
1157 | int result; | 1157 | int result; |
1158 | #ifdef CONFIG_HSO_AUTOPM | ||
1159 | usb_mark_last_busy(urb->dev); | ||
1160 | #endif | ||
1161 | /* We are done with this URB, resubmit it. Prep the USB to wait for | 1158 | /* We are done with this URB, resubmit it. Prep the USB to wait for |
1162 | * another frame */ | 1159 | * another frame */ |
1163 | usb_fill_bulk_urb(urb, serial->parent->usb, | 1160 | usb_fill_bulk_urb(urb, serial->parent->usb, |