btrfs-progs: tests: remove trivial use of local variables
[platform/upstream/btrfs-progs.git] / tests / fuzz-tests / 001-simple-check-unmounted / test.sh
index 84d7ed8..87a6394 100755 (executable)
@@ -9,10 +9,7 @@ check_prereq btrfs
 
 # redefine the one provided by common
 check_image() {
-       local image
-
-       image=$1
-       run_mayfail "$TOP/btrfs" check "$image"
+       run_mayfail "$TOP/btrfs" check "$1"
 }
 
 check_all_images "$TEST_TOP/fuzz-tests/images"