aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/transport
diff options
context:
space:
mode:
authorMoritz Fischer <moritz.fischer@ettus.com>2017-10-04 11:35:22 -0700
committerMartin Braun <martin.braun@ettus.com>2017-10-05 16:18:10 -0700
commitf3248df2bb1ab2696edb306649b22a6b751129f2 (patch)
tree698f27ea221ed2cf3cfaf75a36e27c8a25698734 /host/lib/transport
parentc3edba7534d86b7cfb44eca0cf34a949876e4230 (diff)
downloaduhd-f3248df2bb1ab2696edb306649b22a6b751129f2.tar.gz
uhd-f3248df2bb1ab2696edb306649b22a6b751129f2.tar.bz2
uhd-f3248df2bb1ab2696edb306649b22a6b751129f2.zip
transport: liberio: Fix indents
Remove stray tabs from liberio_zero_copy transport and clarify actual code flow by fixing indent. Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
Diffstat (limited to 'host/lib/transport')
-rw-r--r--host/lib/transport/liberio_zero_copy.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/host/lib/transport/liberio_zero_copy.cpp b/host/lib/transport/liberio_zero_copy.cpp
index 666872738..ebe509010 100644
--- a/host/lib/transport/liberio_zero_copy.cpp
+++ b/host/lib/transport/liberio_zero_copy.cpp
@@ -77,7 +77,7 @@ public:
index++;
return make(this, liberio_buf_get_mem(_buf, 0),
- liberio_buf_get_len(_buf, 0));
+ liberio_buf_get_len(_buf, 0));
}
private:
@@ -108,7 +108,7 @@ public:
index++;
return make(this, liberio_buf_get_mem(_buf, 0),
- liberio_buf_get_payload(_buf, 0));
+ liberio_buf_get_payload(_buf, 0));
}
private:
@@ -150,7 +150,7 @@ public:
_tx_chan, xport_params.num_send_frames
)
);
- _num_send_bufs = liberio_chan_get_num_bufs(_tx_chan);
+ _num_send_bufs = liberio_chan_get_num_bufs(_tx_chan);
for (size_t i = 0; i < xport_params.num_send_frames; i++) {
liberio_chan_get(_tx_chan);
@@ -175,7 +175,7 @@ public:
xport_params.recv_frame_size);
UHD_ASSERT_THROW(!liberio_chan_request_buffers(
_rx_chan, xport_params.num_recv_frames));
- _num_recv_bufs = liberio_chan_get_num_bufs(_rx_chan);
+ _num_recv_bufs = liberio_chan_get_num_bufs(_rx_chan);
for (size_t i = 0; i < xport_params.num_recv_frames; i++) {
liberio_chan_get(_rx_chan);