From 01a2dde3cbed5c7c49adfeb82b095f12633eb2d7 Mon Sep 17 00:00:00 2001 From: Michael Shaw Date: Wed, 1 Mar 2023 00:59:34 -0500 Subject: [PATCH] apic: remove useless variable --- dev/apic.c | 1 - 1 file changed, 1 deletion(-) diff --git a/dev/apic.c b/dev/apic.c index 19877a2..44cc504 100644 --- a/dev/apic.c +++ b/dev/apic.c @@ -47,7 +47,6 @@ int madt_parse_next_entry(int offset) madt_entry_types[type]); /* Can't declare variables inside switch statement */ - struct madt_lapic *lapic = (struct madt_lapic *)madt; struct madt_ioapic *m_ioapic = (struct madt_ioapic *)madt; switch (type) {