host: remove unused variables and functions

This commit is contained in:
Dmitry Sharshakov
2023-11-12 10:01:10 +03:00
committed by Alexander Chemeris
parent 1be7c63ac2
commit bac43dcb6c
2 changed files with 0 additions and 5 deletions

View File

@@ -60,7 +60,6 @@ static const boost::uint32_t MIN_PROTO_COMPAT_I2C = 7;
// The register compat number must reflect the protocol compatibility
// and the compatibility of the register mapping (more likely to change).
static const boost::uint32_t MIN_PROTO_COMPAT_REG = 10;
static const boost::uint32_t MIN_PROTO_COMPAT_UART = 7;
class umtrx_iface_impl : public umtrx_iface{
public:

View File

@@ -48,10 +48,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
**********************************************************************/