mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-04 02:02:28 +09:00
cpufreq: governor: Drop unused field 'cpu'
Its not used at all, drop it. Reviewed-by: Preeti U Murthy <preeti@linux.vnet.ibm.com> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
committed by
Rafael J. Wysocki
parent
386d46e6d5
commit
d3574c8511
@@ -353,7 +353,6 @@ static int cpufreq_governor_start(struct cpufreq_policy *policy,
|
|||||||
struct cpu_dbs_common_info *j_cdbs = cdata->get_cpu_cdbs(j);
|
struct cpu_dbs_common_info *j_cdbs = cdata->get_cpu_cdbs(j);
|
||||||
unsigned int prev_load;
|
unsigned int prev_load;
|
||||||
|
|
||||||
j_cdbs->cpu = j;
|
|
||||||
j_cdbs->cur_policy = policy;
|
j_cdbs->cur_policy = policy;
|
||||||
j_cdbs->prev_cpu_idle =
|
j_cdbs->prev_cpu_idle =
|
||||||
get_cpu_idle_time(j, &j_cdbs->prev_cpu_wall, io_busy);
|
get_cpu_idle_time(j, &j_cdbs->prev_cpu_wall, io_busy);
|
||||||
|
|||||||
@@ -130,7 +130,6 @@ static void *get_cpu_dbs_info_s(int cpu) \
|
|||||||
|
|
||||||
/* Per cpu structures */
|
/* Per cpu structures */
|
||||||
struct cpu_dbs_common_info {
|
struct cpu_dbs_common_info {
|
||||||
int cpu;
|
|
||||||
u64 prev_cpu_idle;
|
u64 prev_cpu_idle;
|
||||||
u64 prev_cpu_wall;
|
u64 prev_cpu_wall;
|
||||||
u64 prev_cpu_nice;
|
u64 prev_cpu_nice;
|
||||||
|
|||||||
Reference in New Issue
Block a user