Removes another reference to this now-gone state. - Dave
Makes EHCI stop referencing the udev->epmaxpacket[] arrays.
Signed-off-by: David Brownell <[EMAIL PROTECTED]> --- 1.51/drivers/usb/host/ehci-sched.c Mon Nov 15 14:28:15 2004 +++ edited/drivers/usb/host/ehci-sched.c Sat Nov 27 23:14:57 2004 @@ -613,11 +613,10 @@ */ epnum = usb_pipeendpoint (pipe); is_input = usb_pipein (pipe) ? USB_DIR_IN : 0; + maxp = usb_maxpacket(dev, pipe, !is_input); if (is_input) { - maxp = dev->epmaxpacketin [epnum]; buf1 = (1 << 11); } else { - maxp = dev->epmaxpacketout [epnum]; buf1 = 0; }