commit | 0697598db56179dbaa9376f29703f6b94751a73f | [log] [tgz] |
---|---|---|
author | Daniel Lezcano <daniel.lezcano@linaro.org> | Wed Apr 03 12:15:18 2013 +0000 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Mon Apr 08 22:20:06 2013 +0200 |
tree | 4a01fff47bddb9dbfc5290760385d4c841cc5f15 | |
parent | 14ad7a119b85b0ba77868882194ab5b16203b2c9 [diff] |
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>