* Removed cast: not needed anymore since Interval() has been moved to the base class (Pipe)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23704 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1255,7 +1255,7 @@ OHCI::_InsertEndpointForPipe(Pipe *pipe)
|
|||||||
head = fDummyIsochronous;
|
head = fDummyIsochronous;
|
||||||
break;
|
break;
|
||||||
case USB_OBJECT_INTERRUPT_PIPE:
|
case USB_OBJECT_INTERRUPT_PIPE:
|
||||||
head = _FindInterruptEndpoint((static_cast<InterruptPipe*>(pipe))->Interval());
|
head = _FindInterruptEndpoint(pipe->Interval());
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
TRACE_ERROR(("usb_ohci: unknown type of pipe. Wrong value!\n"));
|
TRACE_ERROR(("usb_ohci: unknown type of pipe. Wrong value!\n"));
|
||||||
|
|||||||
Reference in New Issue
Block a user