perf util: Remove unused perf_config__refresh

perf_config__refresh() was added in 2016 by
commit 8a0a9c7e9146 ("perf config: Introduce new init() and exit()")
but has remained unused.

Remove it.

Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Reviewed-by: Ian Rogers <irogers@google.com>
Link: https://lore.kernel.org/r/20250305023120.155420-7-linux@treblig.org
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
This commit is contained in:
Dr. David Alan Gilbert 2025-03-05 02:31:20 +00:00 committed by Namhyung Kim
parent e032e7a775
commit c1a37db3cf
2 changed files with 0 additions and 7 deletions

View File

@ -856,12 +856,6 @@ void perf_config__exit(void)
config_set = NULL;
}
void perf_config__refresh(void)
{
perf_config__exit();
perf_config__init();
}
static void perf_config_item__delete(struct perf_config_item *item)
{
zfree(&item->name);

View File

@ -49,7 +49,6 @@ void perf_config_set__delete(struct perf_config_set *set);
int perf_config_set__collect(struct perf_config_set *set, const char *file_name,
const char *var, const char *value);
void perf_config__exit(void);
void perf_config__refresh(void);
int perf_config__set_variable(const char *var, const char *value);
/**