summaryrefslogtreecommitdiff
path: root/arch/x86/kernel/apic/probe_32.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2023-08-08 15:04:13 -0700
committerDave Hansen <dave.hansen@linux.intel.com>2023-08-09 11:58:32 -0700
commit1fddf1dcc58406e72551ca6aa6f0a81c438abb07 (patch)
tree50c68a5c6208dba3d902d3e241874534247688b0 /arch/x86/kernel/apic/probe_32.c
parentd8666cf780203fe016f13e7d5d1af50811dc01b5 (diff)
downloadlinux-1fddf1dcc58406e72551ca6aa6f0a81c438abb07.tar.gz
linux-1fddf1dcc58406e72551ca6aa6f0a81c438abb07.tar.bz2
linux-1fddf1dcc58406e72551ca6aa6f0a81c438abb07.zip
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)
Diffstat (limited to 'arch/x86/kernel/apic/probe_32.c')
-rw-r--r--arch/x86/kernel/apic/probe_32.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/kernel/apic/probe_32.c b/arch/x86/kernel/apic/probe_32.c
index d9f52f2f3e16..5facf4266bc5 100644
--- a/arch/x86/kernel/apic/probe_32.c
+++ b/arch/x86/kernel/apic/probe_32.c
@@ -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,