memblock_tests: move variable declarations to single block
authorRebecca Mckeever <remckee0@gmail.com>
Sun, 4 Sep 2022 04:24:06 +0000 (23:24 -0500)
committerMike Rapoport <rppt@linux.ibm.com>
Sun, 4 Sep 2022 10:50:35 +0000 (13:50 +0300)
commit42c3ba86581896be8dd7fb88ed075b600fd57fa1
treeb484b4cce30276e11074ab442007c5d625e25a7f
parent35e49953c31d85d5d942af611d5b9090b0dc8cfa
memblock_tests: move variable declarations to single block

Move variable declarations to a single block at the beginning of each
testing function.

Signed-off-by: Rebecca Mckeever <remckee0@gmail.com>
Signed-off-by: Mike Rapoport <rppt@linux.ibm.com>
Link: https://lore.kernel.org/r/e61431e73977f305fdd027bca99d1dc119e96d84.1662264355.git.remckee0@gmail.com
tools/testing/memblock/tests/alloc_api.c
tools/testing/memblock/tests/alloc_helpers_api.c
tools/testing/memblock/tests/alloc_nid_api.c