Skip to content
Snippets Groups Projects
Commit 3689ad7e authored by Rafael J. Wysocki's avatar Rafael J. Wysocki
Browse files

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: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
parent b0d8a69d
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment