diff options
author | Dimitri Staessens <dimitri.staessens@ugent.be> | 2018-06-08 10:00:53 +0200 |
---|---|---|
committer | Sander Vrijders <sander.vrijders@ugent.be> | 2018-06-08 10:02:02 +0200 |
commit | 0013274174b7b6c87985431a7bc314cac509f1fa (patch) | |
tree | 175e7d8b115087d71e50420c3bf2f93b638daa07 /src/lib | |
parent | 6379a9afb131ed95ca7073299e4e365e2a4abf3b (diff) | |
download | ouroboros-0013274174b7b6c87985431a7bc314cac509f1fa.tar.gz ouroboros-0013274174b7b6c87985431a7bc314cac509f1fa.zip |
lib: Remove unused #define in rdrbuff
This removes a #define that was not used anymore
Signed-off-by: Dimitri Staessens <dimitri.staessens@ugent.be>
Signed-off-by: Sander Vrijders <sander.vrijders@ugent.be>
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/shm_rdrbuff.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/lib/shm_rdrbuff.c b/src/lib/shm_rdrbuff.c index bbad361a..1dfcb2ca 100644 --- a/src/lib/shm_rdrbuff.c +++ b/src/lib/shm_rdrbuff.c @@ -67,9 +67,6 @@ #define idx_to_du_buff_ptr(rdrb, idx) \ ((struct shm_du_buff *) (rdrb->shm_base + idx * SHM_RDRB_BLOCK_SIZE)) -#define block_ptr_to_idx(rdrb, sdb) \ - (((uint8_t *)sdb - rdrb->shm_base) / SHM_RDRB_BLOCK_SIZE) - #define shm_rdrb_used(rdrb) \ ((*rdrb->head + (SHM_BUFFER_SIZE) - *rdrb->tail) \ & ((SHM_BUFFER_SIZE) - 1)) |