X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/cc8bc92ae4a8e9f1a1ab61bf83d34ad8150b3405..a39ff7e25e19b3a8c3020042a3872ca9ec9659f1:/osfmk/arm/machine_routines.c?ds=inline diff --git a/osfmk/arm/machine_routines.c b/osfmk/arm/machine_routines.c index bc3e4f8eb..83e607540 100644 --- a/osfmk/arm/machine_routines.c +++ b/osfmk/arm/machine_routines.c @@ -544,9 +544,6 @@ ml_processor_register( this_cpu_datap->cpu_id = in_processor_info->cpu_id; - this_cpu_datap->cpu_chud = chudxnu_cpu_alloc(is_boot_cpu); - if (this_cpu_datap->cpu_chud == (void *)NULL) - goto processor_register_error; this_cpu_datap->cpu_console_buf = console_cpu_alloc(is_boot_cpu); if (this_cpu_datap->cpu_console_buf == (void *)(NULL)) goto processor_register_error; @@ -604,8 +601,6 @@ processor_register_error: #if KPC kpc_unregister_cpu(this_cpu_datap); #endif - if (this_cpu_datap->cpu_chud != (void *)NULL) - chudxnu_cpu_free(this_cpu_datap->cpu_chud); if (!is_boot_cpu) cpu_data_free(this_cpu_datap); return KERN_FAILURE;