summaryrefslogtreecommitdiffstats
path: root/Kbuild
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2017-03-28 00:05:44 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2017-03-28 23:12:08 +0200
commit5c43905369bb85fd518363e743b68e2407d83f7c (patch)
tree9b2794759dbd2e01c3ba01e8f996fd2279195255 /Kbuild
parentcpufreq: intel_pstate: Drop pointless initialization of PID parameters (diff)
downloadlinux-5c43905369bb85fd518363e743b68e2407d83f7c.tar.xz
linux-5c43905369bb85fd518363e743b68e2407d83f7c.zip
cpufreq: intel_pstate: Initialize pid_params statically
Notice that both the existing struct cpu_defaults instances in which PID parameters are actually initialized use the same values of those parameters, so it is not really necessary to copy them over to pid_params dynamically. Instead, initialize pid_params statically with those values and drop the unused pid_policy member from struct cpu_defaults along with copy_pid_params() used for initializing it. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions