Transceiver52M: fixup for c5da660: We don't need to check for NULL with delete operator.
This commit is contained in:
parent
c4038ef54c
commit
19ae715e71
|
@ -381,8 +381,7 @@ uhd_device::~uhd_device()
|
||||||
stop();
|
stop();
|
||||||
|
|
||||||
for (int i = 0; i < NUM_RX_CHANS; i++) {
|
for (int i = 0; i < NUM_RX_CHANS; i++) {
|
||||||
if (rx_smpl_buf[i])
|
delete rx_smpl_buf[i];
|
||||||
delete rx_smpl_buf[i];
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue