* 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:
Salvatore Benedetto
2008-01-22 18:27:44 +00:00
parent 5b6cdc4c7b
commit ea0331c6f9
+1 -1
View File
@@ -1255,7 +1255,7 @@ OHCI::_InsertEndpointForPipe(Pipe *pipe)
head = fDummyIsochronous;
break;
case USB_OBJECT_INTERRUPT_PIPE:
head = _FindInterruptEndpoint((static_cast<InterruptPipe*>(pipe))->Interval());
head = _FindInterruptEndpoint(pipe->Interval());
break;
default:
TRACE_ERROR(("usb_ohci: unknown type of pipe. Wrong value!\n"));