From ea0331c6f9e40796b888e6205f1478939d9911dd Mon Sep 17 00:00:00 2001 From: Salvatore Benedetto Date: Tue, 22 Jan 2008 18:27:44 +0000 Subject: [PATCH] * 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 --- src/add-ons/kernel/busses/usb/ohci.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/add-ons/kernel/busses/usb/ohci.cpp b/src/add-ons/kernel/busses/usb/ohci.cpp index 0ebd174c16..5f4760f22b 100644 --- a/src/add-ons/kernel/busses/usb/ohci.cpp +++ b/src/add-ons/kernel/busses/usb/ohci.cpp @@ -1255,7 +1255,7 @@ OHCI::_InsertEndpointForPipe(Pipe *pipe) head = fDummyIsochronous; break; case USB_OBJECT_INTERRUPT_PIPE: - head = _FindInterruptEndpoint((static_cast(pipe))->Interval()); + head = _FindInterruptEndpoint(pipe->Interval()); break; default: TRACE_ERROR(("usb_ohci: unknown type of pipe. Wrong value!\n"));