* [PATCH] ARM: tegra: cpuidle: Remove unused variables
@ 2013-04-15 7:32 Thierry Reding
[not found] ` <1366011121-7858-1-git-send-email-thierry.reding-RM9K5IK7kjKj5M59NBduVrNAH6kLmebB@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Thierry Reding @ 2013-04-15 7:32 UTC (permalink / raw)
To: Stephen Warren
Cc: Rafael J. Wysocki, Daniel Lezcano,
linux-tegra-u79uwXL29TY76Z2rM5mHXA
Commit 0697598 ("ARM: tegra: cpuidle: remove useless initialization")
removes the last usage of the drv variable from the Tegra20, Tegra30 and
Tegra114 cpuidle drivers but forgot to remove the variable.
Signed-off-by: Thierry Reding <thierry.reding-RM9K5IK7kjKj5M59NBduVrNAH6kLmebB@public.gmane.org>
---
arch/arm/mach-tegra/cpuidle-tegra114.c | 1 -
arch/arm/mach-tegra/cpuidle-tegra20.c | 1 -
arch/arm/mach-tegra/cpuidle-tegra30.c | 1 -
3 files changed, 3 deletions(-)
diff --git a/arch/arm/mach-tegra/cpuidle-tegra114.c b/arch/arm/mach-tegra/cpuidle-tegra114.c
index c527cff..d6bea18 100644
--- a/arch/arm/mach-tegra/cpuidle-tegra114.c
+++ b/arch/arm/mach-tegra/cpuidle-tegra114.c
@@ -37,7 +37,6 @@ int __init tegra114_cpuidle_init(void)
int ret;
unsigned int cpu;
struct cpuidle_device *dev;
- struct cpuidle_driver *drv = &tegra_idle_driver;
ret = cpuidle_register_driver(&tegra_idle_driver);
if (ret) {
diff --git a/arch/arm/mach-tegra/cpuidle-tegra20.c b/arch/arm/mach-tegra/cpuidle-tegra20.c
index 7cb1d3a..a1d524d 100644
--- a/arch/arm/mach-tegra/cpuidle-tegra20.c
+++ b/arch/arm/mach-tegra/cpuidle-tegra20.c
@@ -220,7 +220,6 @@ int __init tegra20_cpuidle_init(void)
int ret;
unsigned int cpu;
struct cpuidle_device *dev;
- struct cpuidle_driver *drv = &tegra_idle_driver;
#ifdef CONFIG_PM_SLEEP
tegra_tear_down_cpu = tegra20_tear_down_cpu;
diff --git a/arch/arm/mach-tegra/cpuidle-tegra30.c b/arch/arm/mach-tegra/cpuidle-tegra30.c
index 3fa95df..a308a3d 100644
--- a/arch/arm/mach-tegra/cpuidle-tegra30.c
+++ b/arch/arm/mach-tegra/cpuidle-tegra30.c
@@ -152,7 +152,6 @@ int __init tegra30_cpuidle_init(void)
int ret;
unsigned int cpu;
struct cpuidle_device *dev;
- struct cpuidle_driver *drv = &tegra_idle_driver;
#ifdef CONFIG_PM_SLEEP
tegra_tear_down_cpu = tegra30_tear_down_cpu;
--
1.8.2
^ permalink raw reply related [flat|nested] 3+ messages in thread[parent not found: <1366011121-7858-1-git-send-email-thierry.reding-RM9K5IK7kjKj5M59NBduVrNAH6kLmebB@public.gmane.org>]
* Re: [PATCH] ARM: tegra: cpuidle: Remove unused variables [not found] ` <1366011121-7858-1-git-send-email-thierry.reding-RM9K5IK7kjKj5M59NBduVrNAH6kLmebB@public.gmane.org> @ 2013-04-15 8:55 ` Daniel Lezcano [not found] ` <516BC08F.6030405-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> 0 siblings, 1 reply; 3+ messages in thread From: Daniel Lezcano @ 2013-04-15 8:55 UTC (permalink / raw) To: Thierry Reding Cc: Stephen Warren, Rafael J. Wysocki, linux-tegra-u79uwXL29TY76Z2rM5mHXA On 04/15/2013 09:32 AM, Thierry Reding wrote: > Commit 0697598 ("ARM: tegra: cpuidle: remove useless initialization") > removes the last usage of the drv variable from the Tegra20, Tegra30 and > Tegra114 cpuidle drivers but forgot to remove the variable. > > Signed-off-by: Thierry Reding <thierry.reding-RM9K5IK7kjKj5M59NBduVrNAH6kLmebB@public.gmane.org> > --- Hi Thierry, thanks for the cleanup. Actually, that has been already fixed by the patches: http://www.spinics.net/lists/arm-kernel/msg237945.html * [V3 patch 15/19] ARM: tegra: cpuidle: use init/exit common routine for tegra3 http://www.spinics.net/lists/arm-kernel/msg237945.html * [V3 patch 11/19] ARM: tegra: cpuidle: use init/exit common routine http://www.spinics.net/lists/arm-kernel/msg237956.html * [V3 patch 14/19] ARM: tegra: cpuidle: use init/exit common routine for tegra2 http://www.spinics.net/lists/arm-kernel/msg237965.html Regards -- Daniel -- <http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook | <http://twitter.com/#!/linaroorg> Twitter | <http://www.linaro.org/linaro-blog/> Blog ^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <516BC08F.6030405-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>]
* Re: [PATCH] ARM: tegra: cpuidle: Remove unused variables [not found] ` <516BC08F.6030405-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> @ 2013-04-15 9:12 ` Thierry Reding 0 siblings, 0 replies; 3+ messages in thread From: Thierry Reding @ 2013-04-15 9:12 UTC (permalink / raw) To: Daniel Lezcano Cc: Stephen Warren, Rafael J. Wysocki, linux-tegra-u79uwXL29TY76Z2rM5mHXA [-- Attachment #1: Type: text/plain, Size: 1231 bytes --] On Mon, Apr 15, 2013 at 10:55:43AM +0200, Daniel Lezcano wrote: > On 04/15/2013 09:32 AM, Thierry Reding wrote: > > Commit 0697598 ("ARM: tegra: cpuidle: remove useless initialization") > > removes the last usage of the drv variable from the Tegra20, Tegra30 and > > Tegra114 cpuidle drivers but forgot to remove the variable. > > > > Signed-off-by: Thierry Reding <thierry.reding-RM9K5IK7kjKj5M59NBduVrNAH6kLmebB@public.gmane.org> > > --- > > Hi Thierry, > > thanks for the cleanup. Actually, that has been already fixed by the > patches: > > http://www.spinics.net/lists/arm-kernel/msg237945.html > * [V3 patch 15/19] ARM: tegra: cpuidle: use init/exit common routine for > tegra3 > http://www.spinics.net/lists/arm-kernel/msg237945.html > > * [V3 patch 11/19] ARM: tegra: cpuidle: use init/exit common routine > http://www.spinics.net/lists/arm-kernel/msg237956.html > > * [V3 patch 14/19] ARM: tegra: cpuidle: use init/exit common routine for > tegra2 > http://www.spinics.net/lists/arm-kernel/msg237965.html I didn't see those for some reason. They apparently didn't make it to the linux-tegra mailing list and I wasn't watching the others too closely. Sorry for the noise. Thierry [-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --] ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-04-15 9:12 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-15 7:32 [PATCH] ARM: tegra: cpuidle: Remove unused variables Thierry Reding
[not found] ` <1366011121-7858-1-git-send-email-thierry.reding-RM9K5IK7kjKj5M59NBduVrNAH6kLmebB@public.gmane.org>
2013-04-15 8:55 ` Daniel Lezcano
[not found] ` <516BC08F.6030405-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2013-04-15 9:12 ` Thierry Reding
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox