mirror of
https://github.com/torvalds/linux.git
synced 2025-04-12 16:47:42 +00:00
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:
parent
e032e7a775
commit
c1a37db3cf
@ -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);
|
||||
|
@ -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);
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user