remove tmr->tmrl
This commit is contained in:
parent
0380acf698
commit
e61f407ad0
2 changed files with 0 additions and 2 deletions
|
@ -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 */
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue