From patchwork Thu Mar 11 22:07:54 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [5/5] obsolete config in kernel source: HSO_AUTOPM Date: Thu, 11 Mar 2010 12:07:54 -0000 From: Andrew Morton X-Patchwork-Id: 47641 Message-Id: <201003112207.o2BM7sbR013498@imap1.linux-foundation.org> To: davem@davemloft.net Cc: netdev@vger.kernel.org, akpm@linux-foundation.org, siccegge@stud.informatik.uni-erlangen.de From: Christoph Egger 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 Cc: "David S. Miller" Signed-off-by: Andrew Morton --- drivers/net/usb/hso.c | 3 --- 1 file changed, 3 deletions(-) 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,