Skip to contentSkip to conversation

usbaudio.c: remove #ifndef CONFIG_USB_EHCI_SPLIT_ISO code

PATCH New Adrian Bunk 1 participant 1 message Jun 5, 2008 Sound

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 usbaudio.c: remove #ifndef CONFIG_USB_EHCI_SPLIT_ISO code

Since USB_EHCI_SPLIT_ISO is now unconditionally enabled the #ifndef CONFIG_USB_EHCI_SPLIT_ISO became wrong.

---
e532a1cdc3f2ece89567abd4cd0c219a8e749e3a diff --git a/sound/usb/usbaudio.c b/sound/usb/usbaudio.c index 410be4a..b8cfb7c 100644

sound/usb/usbaudio.c +0 -4
@@ -819,10 +819,6 @@ static const char *usb_error_string(int err)
 		return "device disabled";
 	case -EHOSTUNREACH:
 		return "device suspended";
-#ifndef CONFIG_USB_EHCI_SPLIT_ISO
-	case -ENOSYS:
-		return "enable CONFIG_USB_EHCI_SPLIT_ISO to play through a hub";
-#endif
 	case -EINVAL:
 	case -EAGAIN:
 	case -EFBIG: