This patch just removes the dead code which is related to the number of CPU
in the same cluster. The pass uses the 'num_cpus' variable of the 'struct
pass_hotplug'.
Change-Id: I6775124230d45f572e99bdb070b786267d6c8c68
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
{
struct pass_resource *pass_res = to_pass_resource(policy);
int max_freq = 0;
- int max_cpu = 0;
int ret;
int i;
for (i = 0; i < policy->num_levels; i++) {
if (max_freq < policy->pass_table[i].limit_max_freq)
max_freq = policy->pass_table[i].limit_max_freq;
- if (max_cpu < policy->pass_table[i].limit_min_cpu)
- max_cpu = policy->pass_table[i].limit_min_cpu;
if (policy->pass_table[i].gov_timeout == 0)
policy->pass_table[i].gov_timeout = policy->gov_timeout;
}