Skip to contentSkip to conversation

obsolete config in kernel source: HSO_AUTOPM

PATCH Applied [email protected] 2 participants 2 messages Mar 11, 2010 – Mar 15, 2010

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 5/5 obsolete config in kernel source: HSO_AUTOPM

From: Christoph Egger <[email protected]>

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.

---

 drivers/net/usb/hso.c |    3 ---
 1 file changed, 3 deletions(-)
drivers/net/usb/hso.c renamed from drivers/net/usb/hso.c~obsolete-config-in-kernel-source-hso_autopm +0 -3
diff -puN drivers/net/usb/hso.c~obsolete-config-in-kernel-source-hso_autopm drivers/net/usb/hso.c
@@ -1155,9 +1155,6 @@ static void _hso_serial_set_termios(stru
 static void hso_resubmit_rx_bulk_urb(struct hso_serial *serial, struct urb *urb)
 {
 	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
 	 * another frame */
 	usb_fill_bulk_urb(urb, serial->parent->usb,

_