CLEANUP: cpuset: remove the unused proc_t1 field in cpu_map

This field used to store the cpumap of the first thread in a group, and
was used till 2.4 to hold some default settings, after which it was no
longer used. Let's just drop it.
This commit is contained in:
Willy Tarreau 2023-07-06 14:56:42 +02:00
parent c955659906
commit f54d8c6457
2 changed files with 0 additions and 2 deletions

View File

@ -48,7 +48,6 @@ struct hap_cpuset {
};
struct cpu_map {
struct hap_cpuset proc_t1 ; /* list of CPU masks for the 1st thread of the group */
struct hap_cpuset thread[MAX_THREADS_PER_GROUP]; /* list of CPU masks for the 32/64 threads of this group */
};

View File

@ -1533,7 +1533,6 @@ static void init_early(int argc, char **argv)
int g, i;
for (g = 0; g < MAX_TGROUPS; g++) {
ha_cpuset_zero(&cpu_map[g].proc_t1);
for (i = 0; i < MAX_THREADS_PER_GROUP; ++i) {
ha_cpuset_zero(&cpu_map[g].thread[i]);
}