btrfs-progs: tests: remove trivial use of local variables
[platform/upstream/btrfs-progs.git] / tests / fuzz-tests / 002-simple-image / test.sh
index 0db6190..5dddc9e 100755 (executable)
@@ -9,11 +9,8 @@ check_prereq btrfs-image
 
 # redefine the one provided by common
 check_image() {
-       local image
-
-       image=$1
        truncate -s0 target
-       run_mayfail "$TOP/btrfs-image" "$image" target
+       run_mayfail "$TOP/btrfs-image" "$1" target
        truncate -s0 target
 }