Skip to contentSkip to conversation

no_hz: remove unused field

PATCH In review Lai Jiangshan 1 participant 2 messages Oct 27, 2009 – Nov 8, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 no_hz: remove unused field

In 15934a37324f32e0fda633dc7984a671ea81cd75,
field last_tick_seen is added to struct rq.
But it is unused now.

---

kernel/sched.c +0 -1
index 91ffb01..5166de1 100644
@@ -534,7 +534,6 @@ struct rq {
 	#define CPU_LOAD_IDX_MAX 5
 	unsigned long cpu_load[CPU_LOAD_IDX_MAX];
 #ifdef CONFIG_NO_HZ
-	unsigned long last_tick_seen;
 	unsigned char in_nohz_recently;
 #endif
 	/* capture load from *all* tasks on this cpu: */
#1 lore raw

[tip:sched/core] sched, no_hz: Remove unused rq->last_tick_seen field

Commit-ID:  d8c80ce091f6ead6710bc71b58f2c32e5bf855e4
Gitweb:     http://git.kernel.org/tip/d8c80ce091f6ead6710bc71b58f2c32e5bf855e4
Author:     Lai Jiangshan <[email protected]>
AuthorDate: Tue, 27 Oct 2009 15:45:23 +0800
Committer:  Ingo Molnar <[email protected]>
CommitDate: Sun, 8 Nov 2009 13:17:47 +0100

sched, no_hz: Remove unused rq->last_tick_seen field

In 15934a37324f32e0fda633dc7984a671ea81cd75, field last_tick_seen is added to struct rq. But it is unused now.

Cc Guillaume Chazarain <[email protected]>

LKML-Reference: <[email protected]>

---
 kernel/sched.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
kernel/sched.c +0 -1
index f849212..23e3535 100644
@@ -534,7 +534,6 @@ struct rq {
 	#define CPU_LOAD_IDX_MAX 5
 	unsigned long cpu_load[CPU_LOAD_IDX_MAX];
 #ifdef CONFIG_NO_HZ
-	unsigned long last_tick_seen;
 	unsigned char in_nohz_recently;
 #endif
 	/* capture load from *all* tasks on this cpu: */