summaryrefslogtreecommitdiff
path: root/src/VBox/Devices/USB/VUSBUrb.cpp
diff options
context:
space:
mode:
authorvboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f>2017-03-07 12:13:49 +0000
committervboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f>2017-03-07 12:13:49 +0000
commitada51833d3326cdd5383be8d386372c909dad3e8 (patch)
tree64319cdf3b717de032e0a8a5fa156004e2a28c7a /src/VBox/Devices/USB/VUSBUrb.cpp
parent3b375724ceead81befc01e433f7c76e8ca552f22 (diff)
downloadVirtualBox-svn-ada51833d3326cdd5383be8d386372c909dad3e8.tar.gz
VUSB: Removed unused 'buffered pipe' code.
git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@65976 cfe28804-0f27-0410-a406-dd0f0b0b656f
Diffstat (limited to 'src/VBox/Devices/USB/VUSBUrb.cpp')
-rw-r--r--src/VBox/Devices/USB/VUSBUrb.cpp17
1 files changed, 2 insertions, 15 deletions
diff --git a/src/VBox/Devices/USB/VUSBUrb.cpp b/src/VBox/Devices/USB/VUSBUrb.cpp
index ce3d6fd6333..51323a16bb7 100644
--- a/src/VBox/Devices/USB/VUSBUrb.cpp
+++ b/src/VBox/Devices/USB/VUSBUrb.cpp
@@ -1183,14 +1183,6 @@ int vusbUrbSubmit(PVUSBURB pUrb)
LogRel(("VUSB: Capturing URB submit event failed with %Rrc\n", rc));
}
-#ifdef VBOX_WITH_USB
- if (pPipe && pPipe->hBuffer)
- {
- rc = vusbBufferedPipeSubmitUrb(pPipe->hBuffer, pUrb);
- return rc;
- }
-#endif
-
/*
* Take action based on type.
*/
@@ -1331,13 +1323,8 @@ static void vusbUrbCompletion(PVUSBURB pUrb)
if (pUrb->enmState == VUSBURBSTATE_REAPED)
vusbUrbUnlink(pUrb);
-#ifdef VBOX_WITH_USB
- // Read-ahead URBs are handled differently
- if (pUrb->pVUsb->pvBuffered)
- vusbBufferedPipeCompleteUrb(pUrb);
- else
-#endif
- vusbUrbCompletionRh(pUrb);
+
+ vusbUrbCompletionRh(pUrb);
}
/**