linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/4] ACPI / idle: remove unused definition
@ 2013-02-04 22:44 Daniel Lezcano
  2013-02-04 22:44 ` [PATCH 2/4] ACPI / idle : remove pointless headers Daniel Lezcano
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Daniel Lezcano @ 2013-02-04 22:44 UTC (permalink / raw)
  To: rjw; +Cc: linaro-dev, patches, lenb, linux-pm

The different definitions are not used anywhere in the code.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
---
 drivers/acpi/processor_idle.c |    5 -----
 1 file changed, 5 deletions(-)

diff --git a/drivers/acpi/processor_idle.c b/drivers/acpi/processor_idle.c
index e606e36..5cb5f24 100644
--- a/drivers/acpi/processor_idle.c
+++ b/drivers/acpi/processor_idle.c
@@ -64,11 +64,6 @@
 #define ACPI_PROCESSOR_CLASS            "processor"
 #define _COMPONENT              ACPI_PROCESSOR_COMPONENT
 ACPI_MODULE_NAME("processor_idle");
-#define PM_TIMER_TICK_NS		(1000000000ULL/ACPI_PM_TIMER_FREQUENCY)
-#define C2_OVERHEAD			1	/* 1us */
-#define C3_OVERHEAD			1	/* 1us */
-#define PM_TIMER_TICKS_TO_US(p)		\
-	(((p) * 1000)/(ACPI_PM_TIMER_FREQUENCY/1000))
 
 static unsigned int max_cstate __read_mostly = ACPI_PROCESSOR_MAX_POWER;
 module_param(max_cstate, uint, 0000);
-- 
1.7.9.5


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-02-08 23:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-04 22:44 [PATCH 1/4] ACPI / idle: remove unused definition Daniel Lezcano
2013-02-04 22:44 ` [PATCH 2/4] ACPI / idle : remove pointless headers Daniel Lezcano
2013-02-04 22:44 ` [PATCH 3/4] ACPI / idle: pass the cpuidle_device parameter Daniel Lezcano
2013-02-04 22:44 ` [PATCH 4/4] ACPI / idle: remove usage of the statedata Daniel Lezcano
2013-02-08 23:35 ` [PATCH 1/4] ACPI / idle: remove unused definition Len Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).