diff --git a/include/re_tmr.h b/include/re_tmr.h index 95491a1..8bdd3f4 100644 --- a/include/re_tmr.h +++ b/include/re_tmr.h @@ -15,7 +15,6 @@ typedef void (tmr_h)(void *arg); /** Defines a timer */ struct tmr { struct le le; /**< Linked list element */ - struct list *tmrl; /**< Parent list */ tmr_h *th; /**< Timeout handler */ void *arg; /**< Handler argument */ uint64_t jfs; /**< Jiffies for timeout */ diff --git a/src/tmr/tmr.c b/src/tmr/tmr.c index 2c5ee15..7b5efa8 100644 --- a/src/tmr/tmr.c +++ b/src/tmr/tmr.c @@ -228,7 +228,6 @@ void tmr_start(struct tmr *tmr, uint64_t delay, tmr_h *th, void *arg) return; tmr->jfs = delay + tmr_jiffies(); - tmr->tmrl = tmrl; le = list_apply(tmrl, false, inspos_handler, &tmr->jfs); if (le) {