diff options
author | 2015-08-03 08:36:15 +0530 | |
---|---|---|
committer | 2015-09-01 15:50:38 +0200 | |
commit | 8fa5b631f32238a16ae3db0db5b354f7b9eb20cb (patch) | |
tree | 9475cc924805ec0f2aec76dfd2aa14f9e820ad34 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | cpufreq: remove redundant CPUFREQ_INCOMPATIBLE notifier event (diff) | |
download | wireguard-linux-8fa5b631f32238a16ae3db0db5b354f7b9eb20cb.tar.xz wireguard-linux-8fa5b631f32238a16ae3db0db5b354f7b9eb20cb.zip |
cpufreq: use memcpy() to copy policy
cpufreq_get_policy() is useful if the pointer to policy isn't available
in advance. But if it is available, then there is no need to call
cpufreq_get_policy(). Directly use memcpy() to copy the policy.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions