diff options
author | Moritz Fischer <moritz.fischer@ettus.com> | 2019-01-27 13:17:46 -0800 |
---|---|---|
committer | Brent Stapleton <brent.stapleton@ettus.com> | 2019-02-15 11:37:03 -0800 |
commit | b4d7d9cd3995ce32fd87e562756b70af3e907b14 (patch) | |
tree | 8d23aca51cbd5670c1ee250ddd13a8fe7a21e990 /mpm/lib/mykonos | |
parent | 1fa6be8e8796a6fd4dc5d382dd0067db47dccdf5 (diff) | |
download | uhd-b4d7d9cd3995ce32fd87e562756b70af3e907b14.tar.gz uhd-b4d7d9cd3995ce32fd87e562756b70af3e907b14.tar.bz2 uhd-b4d7d9cd3995ce32fd87e562756b70af3e907b14.zip |
mpm: lib: mykonos: adi_ctrl: Remove unused variable
Remove unused variable data_word that never gets set,
but never read.
Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
Diffstat (limited to 'mpm/lib/mykonos')
-rw-r--r-- | mpm/lib/mykonos/adi_ctrl.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/mpm/lib/mykonos/adi_ctrl.cpp b/mpm/lib/mykonos/adi_ctrl.cpp index 83e363bc8..192e6ac81 100644 --- a/mpm/lib/mykonos/adi_ctrl.cpp +++ b/mpm/lib/mykonos/adi_ctrl.cpp @@ -105,8 +105,6 @@ commonErr_t CMB_SPIWriteBytes( ad9371_spiSettings_t* spi = ad9371_spiSettings_t::make(spiSettings); try { for (size_t i = 0; i < count; ++i) { - uint32_t data_word = (0) | (addr[i] << 8) | (data[i]); - spi->spi_iface->poke8(addr[i], data[i]); } return COMMONERR_OK; |