commit | 3689ad7ed6a836c4eec5e7bdd17a11a79591bef9 | [log] [tgz] |
---|---|---|
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Wed Aug 31 03:11:31 2016 +0200 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Thu Sep 01 00:29:10 2016 +0200 |
tree | 2c83bd991f64e44c704b8f33fbc336f9d35928df | |
parent | b0d8a69d08069f4f4b1d9670d57a7e22da6e6c6a [diff] |
cpufreq: Drop unnecessary check from cpufreq_policy_alloc() Since cpufreq_policy_alloc() doesn't use its dev variable for anything useful, drop that variable from there along with the NULL check against it. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org>