mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-29 13:53:33 +00:00
x86/apic: Remove pointless NULL initializations
Wasted space for no value. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Tested-by: Michael Kelley <mikelley@microsoft.com> Tested-by: Sohil Mehta <sohil.mehta@intel.com> Tested-by: Juergen Gross <jgross@suse.com> # Xen PV (dom0 and unpriv. guest)
This commit is contained in:
parent
d8666cf780
commit
1fddf1dcc5
6 changed files with 0 additions and 13 deletions
|
@ -87,9 +87,7 @@ static struct apic apic_flat __ro_after_init = {
|
|||
|
||||
.disable_esr = 0,
|
||||
|
||||
.check_apicid_used = NULL,
|
||||
.init_apic_ldr = default_init_apic_ldr,
|
||||
.ioapic_phys_id_map = NULL,
|
||||
.cpu_present_to_apicid = default_cpu_present_to_apicid,
|
||||
.phys_pkg_id = flat_phys_pkg_id,
|
||||
|
||||
|
|
|
@ -65,7 +65,6 @@ static void noop_apic_write(u32 reg, u32 val)
|
|||
struct apic apic_noop __ro_after_init = {
|
||||
.name = "noop",
|
||||
.probe = noop_probe,
|
||||
.acpi_madt_oem_check = NULL,
|
||||
|
||||
.delivery_mode = APIC_DELIVERY_MODE_FIXED,
|
||||
.dest_mode_logical = true,
|
||||
|
@ -80,7 +79,6 @@ struct apic apic_noop __ro_after_init = {
|
|||
|
||||
.max_apic_id = 0xFE,
|
||||
.get_apic_id = noop_get_apic_id,
|
||||
.set_apic_id = NULL,
|
||||
|
||||
.calc_dest_apicid = apic_flat_calc_apicid,
|
||||
|
||||
|
|
|
@ -227,8 +227,6 @@ static const struct apic apic_numachip1 __refconst = {
|
|||
|
||||
.disable_esr = 0,
|
||||
|
||||
.check_apicid_used = NULL,
|
||||
.ioapic_phys_id_map = NULL,
|
||||
.cpu_present_to_apicid = default_cpu_present_to_apicid,
|
||||
.phys_pkg_id = numachip_phys_pkg_id,
|
||||
|
||||
|
@ -266,8 +264,6 @@ static const struct apic apic_numachip2 __refconst = {
|
|||
|
||||
.disable_esr = 0,
|
||||
|
||||
.check_apicid_used = NULL,
|
||||
.ioapic_phys_id_map = NULL,
|
||||
.cpu_present_to_apicid = default_cpu_present_to_apicid,
|
||||
.phys_pkg_id = numachip_phys_pkg_id,
|
||||
|
||||
|
|
|
@ -48,7 +48,6 @@ static struct apic apic_default __ro_after_init = {
|
|||
|
||||
.max_apic_id = 0xFE,
|
||||
.get_apic_id = default_get_apic_id,
|
||||
.set_apic_id = NULL,
|
||||
|
||||
.calc_dest_apicid = apic_flat_calc_apicid,
|
||||
|
||||
|
|
|
@ -150,8 +150,6 @@ static struct apic apic_x2apic_phys __ro_after_init = {
|
|||
|
||||
.disable_esr = 0,
|
||||
|
||||
.check_apicid_used = NULL,
|
||||
.ioapic_phys_id_map = NULL,
|
||||
.cpu_present_to_apicid = default_cpu_present_to_apicid,
|
||||
.phys_pkg_id = x2apic_phys_pkg_id,
|
||||
|
||||
|
|
|
@ -811,8 +811,6 @@ static struct apic apic_x2apic_uv_x __ro_after_init = {
|
|||
|
||||
.disable_esr = 0,
|
||||
|
||||
.check_apicid_used = NULL,
|
||||
.ioapic_phys_id_map = NULL,
|
||||
.cpu_present_to_apicid = default_cpu_present_to_apicid,
|
||||
.phys_pkg_id = uv_phys_pkg_id,
|
||||
|
||||
|
|
Loading…
Reference in a new issue