[v0.98][PPC] Dont display name (it was always unknown anyway)

This commit is contained in:
Dr-Noob
2021-07-31 18:30:31 +02:00
parent 2180fb1c26
commit 18744c69f7
4 changed files with 5 additions and 13 deletions

View File

@@ -166,9 +166,6 @@ struct cpuInfo* get_cpu_info() {
*ptr = false;
}
cpu->cpu_name = malloc(sizeof(char) * strlen(STRING_UNKNOWN) + 1);
snprintf(cpu->cpu_name, strlen(STRING_UNKNOWN) + 1, STRING_UNKNOWN);
cpu->arch = get_cpu_uarch();
cpu->freq = get_frequency_info();
cpu->topo = get_topology_info(cpu, cpu->cach);