aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/transport
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-10-04 14:54:16 -0700
committerJosh Blum <josh@joshknows.com>2010-10-04 14:54:16 -0700
commit5bd863efa05f3c6cfd672cffe87f57b33d1c32b5 (patch)
tree193b2b278a4143e225fd3ee40b9a55a26318b9c9 /host/lib/transport
parent219183453b23a572ddd6eeec81c3bc1907754560 (diff)
downloaduhd-5bd863efa05f3c6cfd672cffe87f57b33d1c32b5.tar.gz
uhd-5bd863efa05f3c6cfd672cffe87f57b33d1c32b5.tar.bz2
uhd-5bd863efa05f3c6cfd672cffe87f57b33d1c32b5.zip
uhd: bounded buffer pop sets back element to empty to decrement references
Diffstat (limited to 'host/lib/transport')
-rw-r--r--host/lib/transport/libusb1_zero_copy.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/host/lib/transport/libusb1_zero_copy.cpp b/host/lib/transport/libusb1_zero_copy.cpp
index c7f084f62..819874483 100644
--- a/host/lib/transport/libusb1_zero_copy.cpp
+++ b/host/lib/transport/libusb1_zero_copy.cpp
@@ -335,10 +335,6 @@ libusb_zero_copy_impl::libusb_zero_copy_impl(
if (send_xfer_size == 0) send_xfer_size = DEFAULT_XFER_SIZE;
if (send_num_xfers == 0) send_num_xfers = DEFAULT_NUM_XFERS;
- //sanity check the transfer sizes
- UHD_ASSERT_THROW(recv_xfer_size % 512 == 0);
- UHD_ASSERT_THROW(send_xfer_size % 512 == 0);
-
//store the num xfers for the num frames count
_recv_xfer_size = recv_xfer_size;
_recv_num_frames = recv_num_xfers;