Skip to content

Commit

Permalink
vm_arm: remove unused variable
Browse files Browse the repository at this point in the history
Remove code that might have been used for testing purposes once.

Signed-off-by: Axel Heider <[email protected]>
  • Loading branch information
Axel Heider authored and kent-mcleod committed Mar 20, 2023
1 parent 84f10c2 commit 4dcfd51
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions components/VM_Arm/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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++;
Expand Down

0 comments on commit 4dcfd51

Please sign in to comment.