diff options
author | Burt P <pburt0@gmail.com> | 2017-05-23 14:15:21 -0500 |
---|---|---|
committer | Leandro A. F. Pereira <leandro@hardinfo.org> | 2017-06-04 16:23:46 -0700 |
commit | bbdf08f7f13d93cb58ff62842a1da2bcfc382b37 (patch) | |
tree | e9f026bac7f29500a8dcb9e74889a0ccc7d6ea20 | |
parent | 9d55d26bb4f3d7a4a07a74ec66ac25240296b7e7 (diff) |
x86: Remove unused parameter to populate_cpu_flags_list_internal()
Signed-off-by: Burt P <pburt0@gmail.com>
-rw-r--r-- | modules/devices/x86/processor.c | 6 |
1 files 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; |