[v1.01] Refactoring in printer to make code clearer. Remove usless check in PPC

This commit is contained in:
Dr-Noob
2021-12-08 10:35:38 +01:00
parent 84ee3107c6
commit 40b13bc60c
2 changed files with 21 additions and 22 deletions

View File

@@ -181,9 +181,6 @@ struct cpuInfo* get_cpu_info() {
feat->altivec = has_altivec(cpu->arch);
cpu->peak_performance = get_peak_performance(cpu, cpu->topo, get_freq(cpu->freq));
if(cpu->cach == NULL || cpu->topo == NULL) {
return NULL;
}
return cpu;
}