Use FOR_LIST_ELEMENTS convenience macros
This commit is contained in:
parent
42ca71ca47
commit
3f8ae91c09
5 changed files with 8 additions and 8 deletions
|
@ -28,7 +28,7 @@ grub_functional_test (struct grub_extcmd *cmd __attribute__ ((unused)),
|
|||
{
|
||||
grub_test_t test;
|
||||
|
||||
for (test = grub_test_list; test; test = test->next)
|
||||
FOR_LIST_ELEMENTS (test, grub_test_list)
|
||||
grub_test_run (test);
|
||||
return GRUB_ERR_NONE;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue