summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHailong Liu <liu.hailong6@zte.com.cn>2021-06-03 15:57:52 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2021-06-07 17:43:52 +0200
commitbcc936c5d5159b4d1891d58f89301f74ff61a67d (patch)
treea6fd6b1e00f23ded97ed33b294d4c99cf65d167d
parentcpufreq: sh: Remove unused linux/sched.h headers (diff)
downloadlinux-bcc936c5d5159b4d1891d58f89301f74ff61a67d.tar.xz
linux-bcc936c5d5159b4d1891d58f89301f74ff61a67d.zip
cpufreq: loongson2: Remove unused linux/sched.h headers
Since commit 759f534e93ac(CPUFREQ: Loongson2: drop set_cpus_allowed_ptr()), the header <linux/sched.h> is useless in oongson2_cpufreq.c, so remove it. Signed-off-by: Hailong Liu <liu.hailong6@zte.com.cn> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
-rw-r--r--drivers/cpufreq/loongson2_cpufreq.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/cpufreq/loongson2_cpufreq.c b/drivers/cpufreq/loongson2_cpufreq.c
index d05e761d9572..afc59b292153 100644
--- a/drivers/cpufreq/loongson2_cpufreq.c
+++ b/drivers/cpufreq/loongson2_cpufreq.c
@@ -16,7 +16,6 @@
#include <linux/cpufreq.h>
#include <linux/module.h>
#include <linux/err.h>
-#include <linux/sched.h> /* set_cpus_allowed() */
#include <linux/delay.h>
#include <linux/platform_device.h>