aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric <ewild@sysmocom.de>2020-07-01 18:24:33 +0200
committerEric <ewild@sysmocom.de>2020-08-26 17:35:18 +0200
commit2016e46064c3507bc00809121df26a94948bf1a8 (patch)
tree3002ff74edaca1a12585b3a7f955076e38e44740
parent443810195abba9f08e6d0dba5d56607e6b081d68 (diff)
ipc: shm unused cleanup
-rw-r--r--Transceiver52M/device/ipc/shm.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/Transceiver52M/device/ipc/shm.c b/Transceiver52M/device/ipc/shm.c
index a99cd62..590d919 100644
--- a/Transceiver52M/device/ipc/shm.c
+++ b/Transceiver52M/device/ipc/shm.c
@@ -86,7 +86,6 @@ struct ipc_shm_region *ipc_shm_decode_region(void *tall_ctx, struct ipc_shm_raw_
unsigned int ipc_shm_encode_smpl_buf(struct ipc_shm_raw_region *root_raw, struct ipc_shm_raw_smpl_buf *smpl_buf_raw,
uint32_t buffer_size)
{
- uint8_t *start = (uint8_t *)smpl_buf_raw;
unsigned int offset = sizeof(struct ipc_shm_raw_smpl_buf);
offset = (((uintptr_t)offset + 7) & ~0x07ULL);
#ifdef ENCDECDEBUG
@@ -151,7 +150,6 @@ unsigned int ipc_shm_encode_region(struct ipc_shm_raw_region *root_raw, uint32_t
if (root_raw)
root_raw->num_chans = num_chans;
for (i = 0; i < num_chans; i++) {
- uint32_t ofs = (start + offset - (uintptr_t)root_raw);
if (root_raw)
root_raw->chan_offset[i] = (start + offset - (uintptr_t)root_raw);
#ifdef ENCDECDEBUG