From e61f407ad0c291c9ea273b87f35388ae9296a1b9 Mon Sep 17 00:00:00 2001 From: Richard Aas Date: Fri, 25 Feb 2011 11:35:28 +0000 Subject: [PATCH] remove tmr->tmrl --- include/re_tmr.h | 1 - src/tmr/tmr.c | 1 - 2 files changed, 2 deletions(-) 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) {