tools/power/x86/intel-speed-select: Remove isst_get_pbf_info_complete
isst_get_pbf_info_complete does nothing but just free the core_mask. Remove the function and do free core_mask directly and free core mask in the caller. No functional changes are expected. Signed-off-by: Zhang Rui <rui.zhang@intel.com> [srinivas.pandruvada@linux.intel.com: changelog edits] Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
This commit is contained in:
Родитель
7a1962904f
Коммит
05ece6916e
|
@ -1331,7 +1331,7 @@ static void dump_pbf_config_for_cpu(struct isst_id *id, void *arg1, void *arg2,
|
|||
exit(1);
|
||||
} else {
|
||||
isst_pbf_display_information(id, outf, tdp_level, &pbf_info);
|
||||
isst_get_pbf_info_complete(&pbf_info);
|
||||
free_cpu_set(pbf_info.core_cpumask);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -390,11 +390,6 @@ int isst_get_pbf_info(struct isst_id *id, int level, struct isst_pbf_info *pbf_i
|
|||
return isst_ops->get_pbf_info(id, level, pbf_info);
|
||||
}
|
||||
|
||||
void isst_get_pbf_info_complete(struct isst_pbf_info *pbf_info)
|
||||
{
|
||||
free_cpu_set(pbf_info->core_cpumask);
|
||||
}
|
||||
|
||||
int isst_set_pbf_fact_status(struct isst_id *id, int pbf, int enable)
|
||||
{
|
||||
struct isst_pkg_ctdp pkg_dev;
|
||||
|
|
|
@ -253,7 +253,6 @@ extern int isst_set_tdp_level(struct isst_id *id, int tdp_level);
|
|||
extern int isst_set_pbf_fact_status(struct isst_id *id, int pbf, int enable);
|
||||
extern int isst_get_pbf_info(struct isst_id *id, int level,
|
||||
struct isst_pbf_info *pbf_info);
|
||||
extern void isst_get_pbf_info_complete(struct isst_pbf_info *pbf_info);
|
||||
extern int isst_get_fact_info(struct isst_id *id, int level, int fact_bucket,
|
||||
struct isst_fact_info *fact_info);
|
||||
extern int isst_get_fact_bucket_info(struct isst_id *id, int level,
|
||||
|
|
Загрузка…
Ссылка в новой задаче