info: Avoid adding phantom "Unknown model" CPU on PPC64

Ported from gnome-system-monitor:
https://bugzilla.gnome.org/show_bug.cgi?id=619733

https://bugzilla.gnome.org/show_bug.cgi?id=649909
This commit is contained in:
Robert Roth 2012-12-05 23:52:53 +02:00 committed by Bastien Nocera
parent d914b2fa7b
commit 97ba46c837

View file

@ -768,7 +768,7 @@ get_cpu_info (const glibtop_sysinfo *info)
}
if (model == NULL)
model = _("Unknown model");
continue;
count = g_hash_table_lookup (counts, model);
if (count == NULL)