mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-23 09:47:44 +00:00
HV: cleanup coding style violation
- replace MACROs with inline functions - remove unused local viarbles - fix build errors Signed-off-by: Yonghua Huang <yonghua.huang@intel.com>
This commit is contained in:
@@ -310,9 +310,9 @@ void setup_ioapic_irq(void)
|
||||
|
||||
for (ioapic_id = 0U;
|
||||
ioapic_id < CONFIG_NR_IOAPICS; ioapic_id++) {
|
||||
int pin;
|
||||
int max_pins;
|
||||
int version;
|
||||
uint32_t pin;
|
||||
uint32_t max_pins;
|
||||
uint32_t version;
|
||||
void *addr;
|
||||
|
||||
addr = map_ioapic(get_ioapic_base(ioapic_id));
|
||||
|
Reference in New Issue
Block a user