intel_pstate: Clean up intel_pstate_get()
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sat, 7 May 2016 00:24:48 +0000 (02:24 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 9 May 2016 20:55:36 +0000 (22:55 +0200)
commitf96fd0c86f081c27a0ba5efadfc13f612b4071d3
treeef63eafe1a14361f16dbef94f7ff74c50dd44ba7
parentd87de8f38a6739ad180923dbefd3e08e087a8f51
intel_pstate: Clean up intel_pstate_get()

intel_pstate_get() contains a local variable that's initialized but
never used and it can be written in fewer lines of code, so clean
it up.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
drivers/cpufreq/intel_pstate.c