btrfs-progs: tests: remove trivial use of local variables
[platform/upstream/btrfs-progs.git] / tests / fsck-tests / 015-tree-reloc-tree / test.sh
index 21987b0..5d9d512 100755 (executable)
@@ -10,10 +10,7 @@ source "$TEST_TOP/common"
 check_prereq btrfs
 
 check_image() {
-       local image
-
-       image=$1
-       run_check "$TOP/btrfs" check "$image"
+       run_check "$TOP/btrfs" check "$1"
 }
 
 check_all_images