mirror of
https://github.com/Dr-Noob/cpufetch.git
synced 2026-03-25 16:00:39 +01:00
[v1.01] Refactoring in printer to make code clearer. Remove usless check in PPC
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user