library: tweak support of p-core/e-core identification

Wow, after this we'll eliminate one 'jmp' instruction!

[ plus we can also save a single precious whitespace ]

Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
Jim Warner 2022-10-01 00:00:00 -05:00 committed by Craig Small
parent 850548bdb4
commit f571746af2

View File

@ -468,11 +468,10 @@ static void stat_cores_check (
} }
if (p_core) { if (p_core) {
core = info->cores; core = info->cores;
while (core) { do {
if (core->thread_2 == VACANT) if (core->thread_2 == VACANT)
core->type = E_CORE; core->type = E_CORE;
core = core->next; } while ((core = core->next));
}
} }
} // end: stat_cores_check } // end: stat_cores_check