Skip to contentSkip to conversation

hrtimer: Remove cb_entry from struct hrtimer

tip:timers/core tip-bot for Peter Zijlstra 1 participant 1 message Jul 22, 2009 High-resolution timers, timer wheel, clockevents

lore
Share & tools
lore
#0 lore raw
Commit-ID:  fbd90375d7531927d312766b548376d909811b4d
Gitweb:     http://git.kernel.org/tip/fbd90375d7531927d312766b548376d909811b4d
Author:     Peter Zijlstra <[email protected]>
AuthorDate: Wed, 22 Jul 2009 13:40:14 +0200
Committer:  Thomas Gleixner <[email protected]>
CommitDate: Wed, 22 Jul 2009 17:12:32 +0200

hrtimer: Remove cb_entry from struct hrtimer

It's unused, remove it.

LKML-Reference: <new-submission>

---
 include/linux/hrtimer.h |    2 --
 kernel/hrtimer.c        |    1 -
 2 files changed, 0 insertions(+), 3 deletions(-)
include/linux/hrtimer.h +0 -2
index 54648e6..40e7d54 100644
@@ -91,7 +91,6 @@ enum hrtimer_restart {
  * @function:	timer expiry callback function
  * @base:	pointer to the timer base (per cpu and per clock)
  * @state:	state information (See bit values above)
- * @cb_entry:	list head to enqueue an expired timer into the callback list
  * @start_site:	timer statistics field to store the site where the timer
  *		was started
  * @start_comm: timer statistics field to store the name of the process which
@@ -108,7 +107,6 @@ struct hrtimer {
 	enum hrtimer_restart		(*function)(struct hrtimer *);
 	struct hrtimer_clock_base	*base;
 	unsigned long			state;
-	struct list_head		cb_entry;
 #ifdef CONFIG_TIMER_STATS
 	int				start_pid;
 	void				*start_site;
kernel/hrtimer.c +0 -1
index 43d151f..052a0f5 100644
@@ -1092,7 +1092,6 @@ static void __hrtimer_init(struct hrtimer *timer, clockid_t clock_id,
 		clock_id = CLOCK_MONOTONIC;
 
 	timer->base = &cpu_base->clock_base[clock_id];
-	INIT_LIST_HEAD(&timer->cb_entry);
 	hrtimer_init_timer_hres(timer);
 
 #ifdef CONFIG_TIMER_STATS