diff options
Diffstat (limited to 'host')
-rw-r--r-- | host/lib/transport/nirio/niriok_proxy_impl_v1.cpp | 10 | ||||
-rw-r--r-- | host/lib/transport/nirio_zero_copy.cpp | 2 | ||||
-rw-r--r-- | host/lib/transport/udp_zero_copy.cpp | 2 |
3 files changed, 6 insertions, 8 deletions
diff --git a/host/lib/transport/nirio/niriok_proxy_impl_v1.cpp b/host/lib/transport/nirio/niriok_proxy_impl_v1.cpp index 444e98f1b..dbe9e4abd 100644 --- a/host/lib/transport/nirio/niriok_proxy_impl_v1.cpp +++ b/host/lib/transport/nirio/niriok_proxy_impl_v1.cpp @@ -49,11 +49,11 @@ const uint32_t NIRIO_IOCTL_GET_IFACE_NUM = METHOD_BUFFERED, FILE_READ_DATA); ///< Get the interface number for a device -const uint32_t NIRIO_IOCTL_GET_SESSION = - CTL_CODE(FILE_DEVICE_UNKNOWN, - NIRIO_IOCTL_BASE + 8, - METHOD_BUFFERED, - FILE_READ_ACCESS); ///< Gets a previously opened session to a device +//const uint32_t NIRIO_IOCTL_GET_SESSION = + //CTL_CODE(FILE_DEVICE_UNKNOWN, + //NIRIO_IOCTL_BASE + 8, + //METHOD_BUFFERED, + //FILE_READ_ACCESS); ///< Gets a previously opened session to a device const uint32_t NIRIO_IOCTL_POST_OPEN = CTL_CODE(FILE_DEVICE_UNKNOWN, diff --git a/host/lib/transport/nirio_zero_copy.cpp b/host/lib/transport/nirio_zero_copy.cpp index 1eb431a19..8bec49a5f 100644 --- a/host/lib/transport/nirio_zero_copy.cpp +++ b/host/lib/transport/nirio_zero_copy.cpp @@ -75,7 +75,6 @@ private: nirio_fifo<fifo_data_t>& _fifo; fifo_data_t* _typed_buffer; const size_t _frame_size; - size_t _num_frames; }; class nirio_zero_copy_msb : public managed_send_buffer @@ -116,7 +115,6 @@ private: nirio_fifo<fifo_data_t>& _fifo; fifo_data_t* _typed_buffer; const size_t _frame_size; - size_t _num_frames; }; class nirio_zero_copy_impl : public nirio_zero_copy { diff --git a/host/lib/transport/udp_zero_copy.cpp b/host/lib/transport/udp_zero_copy.cpp index 70fb5b552..036a84a05 100644 --- a/host/lib/transport/udp_zero_copy.cpp +++ b/host/lib/transport/udp_zero_copy.cpp @@ -32,7 +32,7 @@ using namespace uhd::transport; namespace asio = boost::asio; //A reasonable number of frames for send/recv and async/sync -static const size_t DEFAULT_NUM_FRAMES = 32; +//static const size_t DEFAULT_NUM_FRAMES = 32; /*********************************************************************** * Check registry for correct fast-path setting (windows only) |