x86: plug a set-but-not-unused var in native_lapic_ipi_free

Sponsored by:	Rubicon Communications, LLC ("Netgate")
This commit is contained in:
Mateusz Guzik 2021-12-10 11:55:03 +00:00
parent bc02034cca
commit ceed3949bc

View File

@ -2178,7 +2178,7 @@ static void
native_lapic_ipi_free(int vector)
{
struct gate_descriptor *ip;
long func;
long func __diagused;
KASSERT(vector >= IPI_DYN_FIRST && vector <= IPI_DYN_LAST,
("%s: invalid vector %d", __func__, vector));