Change in osmo-trx[master]: uhd: smpl_buf: Drop unused avail_smpls uhd:time_spect_t API

Pau Espin Pedrol gerrit-no-reply at lists.osmocom.org
Mon Apr 29 15:47:33 UTC 2019


Pau Espin Pedrol has uploaded this change for review. ( https://gerrit.osmocom.org/13810


Change subject: uhd: smpl_buf: Drop unused avail_smpls uhd:time_spect_t API
......................................................................

uhd: smpl_buf: Drop unused avail_smpls uhd:time_spect_t API

Change-Id: I94061328d46a550d4147121d85baffa29c700c45
---
M Transceiver52M/device/uhd/smpl_buf.cpp
M Transceiver52M/device/uhd/smpl_buf.h
2 files changed, 0 insertions(+), 6 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-trx refs/changes/10/13810/1

diff --git a/Transceiver52M/device/uhd/smpl_buf.cpp b/Transceiver52M/device/uhd/smpl_buf.cpp
index f1a6a89..750c394 100644
--- a/Transceiver52M/device/uhd/smpl_buf.cpp
+++ b/Transceiver52M/device/uhd/smpl_buf.cpp
@@ -23,11 +23,6 @@
 		return time_end - timestamp;
 }
 
-ssize_t smpl_buf::avail_smpls(uhd::time_spec_t timespec) const
-{
-	return avail_smpls(timespec.to_ticks(clk_rt));
-}
-
 ssize_t smpl_buf::read(void *buf, size_t len, TIMESTAMP timestamp)
 {
 	int type_sz = 2 * sizeof(short);
diff --git a/Transceiver52M/device/uhd/smpl_buf.h b/Transceiver52M/device/uhd/smpl_buf.h
index 2c1e435..dca13d0 100644
--- a/Transceiver52M/device/uhd/smpl_buf.h
+++ b/Transceiver52M/device/uhd/smpl_buf.h
@@ -40,7 +40,6 @@
 	    @return number of available samples or error
 	*/
 	ssize_t avail_smpls(TIMESTAMP timestamp) const;
-	ssize_t avail_smpls(uhd::time_spec_t timestamp) const;
 
 	/** Read and write
 	    @param buf pointer to buffer

-- 
To view, visit https://gerrit.osmocom.org/13810
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-trx
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I94061328d46a550d4147121d85baffa29c700c45
Gerrit-Change-Number: 13810
Gerrit-PatchSet: 1
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190429/725bc975/attachment.html>


More information about the gerrit-log mailing list