Skip to content

Commit

Permalink
host: remove unused variables and functions
Browse files Browse the repository at this point in the history
  • Loading branch information
dsseng authored and chemeris committed Nov 26, 2023
1 parent 1be7c63 commit bac43dc
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion host/umtrx_iface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 0 additions & 4 deletions host/umtrx_io_impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
**********************************************************************/
Expand Down

0 comments on commit bac43dc

Please sign in to comment.