[ALSA] usbaudio.c: remove #ifndef CONFIG_USB_EHCI_SPLIT_ISO code
authorAdrian Bunk <bunk@kernel.org>
Thu, 5 Jun 2008 18:24:10 +0000 (21:24 +0300)
committerTakashi Iwai <tiwai@suse.de>
Fri, 6 Jun 2008 09:54:59 +0000 (11:54 +0200)
Since USB_EHCI_SPLIT_ISO is now unconditionally enabled the
#ifndef CONFIG_USB_EHCI_SPLIT_ISO became wrong.

Reported-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/usbaudio.c

index 410be4aff1baed739dac2d88fa178d58f640e993..b8cfb7c2276872a05f40a07a0ed57d0b57357e8e 100644 (file)
@@ -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: