summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/controller/avr32dci.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb/controller/avr32dci.c')
-rw-r--r--sys/dev/usb/controller/avr32dci.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/dev/usb/controller/avr32dci.c b/sys/dev/usb/controller/avr32dci.c
index 7a672f6..14b4f64 100644
--- a/sys/dev/usb/controller/avr32dci.c
+++ b/sys/dev/usb/controller/avr32dci.c
@@ -2056,10 +2056,6 @@ avr32dci_ep_init(struct usb_device *udev, struct usb_endpoint_descriptor *edesc,
if (udev->device_index != sc->sc_rt_addr) {
- if (udev->flags.usb_mode != USB_MODE_DEVICE) {
- /* not supported */
- return;
- }
if ((udev->speed != USB_SPEED_FULL) &&
(udev->speed != USB_SPEED_HIGH)) {
/* not supported */
OpenPOWER on IntegriCloud