From bbdf08f7f13d93cb58ff62842a1da2bcfc382b37 Mon Sep 17 00:00:00 2001 From: Burt P Date: Tue, 23 May 2017 14:15:21 -0500 Subject: x86: Remove unused parameter to populate_cpu_flags_list_internal() Signed-off-by: Burt P --- modules/devices/x86/processor.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/devices/x86/processor.c b/modules/devices/x86/processor.c index 56968f41..1af96039 100644 --- a/modules/devices/x86/processor.c +++ b/modules/devices/x86/processor.c @@ -492,7 +492,7 @@ static struct { GHashTable *cpu_flags = NULL; static void -populate_cpu_flags_list_internal(GHashTable *hash_table) +populate_cpu_flags_list_internal() { int i; @@ -521,7 +521,7 @@ void cpu_flags_init(void) path = g_build_filename(g_get_home_dir(), ".hardinfo", "cpuflags.conf", NULL); if (!g_file_test(path, G_FILE_TEST_EXISTS)) { - populate_cpu_flags_list_internal(cpu_flags); + populate_cpu_flags_list_internal(); } else { GKeyFile *flags_file; @@ -536,7 +536,7 @@ void cpu_flags_init(void) if (!flag_keys) { DEBUG("error while using %s as CPU flags database, falling back to internal", path); - populate_cpu_flags_list_internal(cpu_flags); + populate_cpu_flags_list_internal(); } else { for (i = 0; flag_keys[i]; i++) { gchar *meaning; -- cgit v1.2.3