From 4dcfd518f6192a5170e65bc305985027e4f0dc1c Mon Sep 17 00:00:00 2001 From: Axel Heider Date: Mon, 13 Mar 2023 13:32:44 +0100 Subject: [PATCH] vm_arm: remove unused variable Remove code that might have been used for testing purposes once. Signed-off-by: Axel Heider --- components/VM_Arm/src/main.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/components/VM_Arm/src/main.c b/components/VM_Arm/src/main.c index bbbd15ac..1865d404 100644 --- a/components/VM_Arm/src/main.c +++ b/components/VM_Arm/src/main.c @@ -637,10 +637,8 @@ static int install_vm_devices(vm_t *vm) } int max_vmm_modules = (int)(__stop__vmm_module - __start__vmm_module); - vmm_module_t *test_types[max_vmm_modules]; int num_vmm_modules = 0; for (vmm_module_t *i = __start__vmm_module; i < __stop__vmm_module; i++) { - test_types[num_vmm_modules] = i; ZF_LOGE("module name: %s", i->name); i->init_module(vm, i->cookie); num_vmm_modules++;