Commit 055d752f authored by Daniel Lezcano's avatar Daniel Lezcano Committed by Rafael J. Wysocki

SH: cpuidle: remove pointless initialization

The driver is a global static variable automatically initialized to zero.

Removing the useless initialization in the init function.
Signed-off-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
Acked-by: default avatarSimon Horman <horms+renesas@verge.net.au>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 94b46249
......@@ -65,12 +65,6 @@ void sh_mobile_setup_cpuidle(void)
struct cpuidle_state *state;
int i;
for (i = 0; i < CPUIDLE_STATE_MAX; i++) {
drv->states[i].name[0] = '\0';
drv->states[i].desc[0] = '\0';
}
i = CPUIDLE_DRIVER_STATE_START;
state = &drv->states[i++];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment