btrfs-progs: tests: remove trivial use of local variables
[platform/upstream/btrfs-progs.git] / tests / fuzz-tests / 004-simple-dump-tree / test.sh
index 857c742..c09b847 100755 (executable)
@@ -7,10 +7,7 @@ check_prereq btrfs
 
 # redefine the one provided by common
 check_image() {
-       local image
-
-       image=$1
-       run_mayfail "$TOP/btrfs" inspect-internal dump-tree "$image"
+       run_mayfail "$TOP/btrfs" inspect-internal dump-tree "$1"
 }
 
 check_all_images "$TEST_TOP/fuzz-tests/images"