Patchwork [5/5] obsolete config in kernel source: HSO_AUTOPM

login
register
mail settings
Submitter Andrew Morton
Date March 11, 2010, 10:07 p.m.
Message ID <201003112207.o2BM7sbR013498@imap1.linux-foundation.org>
Download mbox | patch
Permalink /patch/47641/
State Accepted
Delegated to: David Miller
Headers show

Comments

Andrew Morton - March 11, 2010, 10:07 p.m.
From: Christoph Egger <siccegge@stud.informatik.uni-erlangen.de>

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>
---

 drivers/net/usb/hso.c |    3 ---
 1 file changed, 3 deletions(-)
David Miller - March 15, 2010, 11:06 p.m.
From: akpm@linux-foundation.org
Date: Thu, 11 Mar 2010 14:07:54 -0800

> From: Christoph Egger <siccegge@stud.informatik.uni-erlangen.de>
> 
> 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>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff -puN drivers/net/usb/hso.c~obsolete-config-in-kernel-source-hso_autopm drivers/net/usb/hso.c
--- a/drivers/net/usb/hso.c~obsolete-config-in-kernel-source-hso_autopm
+++ a/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,