aboutsummaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2016-11-23 09:53:10 -0800
committerMartin Braun <martin.braun@ettus.com>2016-11-28 12:17:12 -0800
commit26d047f821221f516eefa58e56daea7a93cb54e2 (patch)
tree0f37c8b4f6785b39ee164e2a19767017cc68bbf5 /host
parent097b0334ad22fbbe375963043e8afb4369b95bba (diff)
downloaduhd-26d047f821221f516eefa58e56daea7a93cb54e2.tar.gz
uhd-26d047f821221f516eefa58e56daea7a93cb54e2.tar.bz2
uhd-26d047f821221f516eefa58e56daea7a93cb54e2.zip
usrp2: Removed superfluous helper function
Diffstat (limited to 'host')
-rw-r--r--host/lib/usrp/usrp2/io_impl.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/host/lib/usrp/usrp2/io_impl.cpp b/host/lib/usrp/usrp2/io_impl.cpp
index ae39028a1..199436fa2 100644
--- a/host/lib/usrp/usrp2/io_impl.cpp
+++ b/host/lib/usrp/usrp2/io_impl.cpp
@@ -50,10 +50,6 @@ static UHD_INLINE pt::time_duration to_time_dur(double timeout){
return pt::microseconds(long(timeout*1e6));
}
-static UHD_INLINE double from_time_dur(const pt::time_duration &time_dur){
- return 1e-6*time_dur.total_microseconds();
-}
-
/***********************************************************************
* constants
**********************************************************************/