ARM: tegra: cpuidle: remove useless initialization
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Wed, 3 Apr 2013 12:15:18 +0000 (12:15 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 8 Apr 2013 20:20:06 +0000 (22:20 +0200)
commit0697598db56179dbaa9376f29703f6b94751a73f
tree4a01fff47bddb9dbfc5290760385d4c841cc5f15
parent14ad7a119b85b0ba77868882194ab5b16203b2c9
ARM: tegra: cpuidle: remove useless initialization

dev->state_count is initialized automatically by
cpuidle_register_device().

When drv->state_count is equal to dev->state_count, no need to init
this field, so removing it.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Reviewed-by: Joseph Lo <josephl@nvidia.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
arch/arm/mach-tegra/cpuidle-tegra114.c
arch/arm/mach-tegra/cpuidle-tegra20.c
arch/arm/mach-tegra/cpuidle-tegra30.c