mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
vmm: Remove unneeded variable maxcpus
Reported by: FreeBSD User <freebsd@walstatt-de.de>
Fixes: a5a918b7a9 ("vmm: permit some IPIs to be handled by userspace")
This commit is contained in:
parent
06c30b2c76
commit
653c36179d
1 changed files with 0 additions and 4 deletions
|
|
@ -964,7 +964,6 @@ vlapic_icrlo_write_handler(struct vlapic *vlapic, bool *retu)
|
|||
struct vlapic *vlapic2;
|
||||
struct vm_exit *vmexit;
|
||||
struct LAPIC *lapic;
|
||||
uint16_t maxcpus;
|
||||
|
||||
lapic = vlapic->apic_page;
|
||||
lapic->icr_lo &= ~APIC_DELSTAT_PEND;
|
||||
|
|
@ -979,9 +978,6 @@ vlapic_icrlo_write_handler(struct vlapic *vlapic, bool *retu)
|
|||
phys = (icrval & APIC_DESTMODE_LOG) == 0;
|
||||
shorthand = icrval & APIC_DEST_MASK;
|
||||
|
||||
maxcpus = vm_get_maxcpus(vlapic->vm);
|
||||
|
||||
|
||||
VLAPIC_CTR2(vlapic, "icrlo 0x%016lx triggered ipi %d", icrval, vec);
|
||||
|
||||
switch (shorthand) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue