cpufreq: stats: initialize 'cur_time' on its definition
authorViresh Kumar <viresh.kumar@linaro.org>
Tue, 6 Jan 2015 15:39:03 +0000 (21:09 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 23 Jan 2015 22:06:43 +0000 (23:06 +0100)
commit9531347c61f689ac6de899a03ce91be4157277f7
tree32a24e52c813996ded2cdeeabb157cb58e66e6e8
parent43b9cdaf5c22230269b8edd99ec78380a6ac0715
cpufreq: stats: initialize 'cur_time' on its definition

'cur_time' is defined in the first line and is then assigned a value
in the next line. Initialize it while defining it.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/cpufreq_stats.c