diff options
author | David Sterba <dsterba@suse.com> | 2018-03-23 16:21:37 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-03-30 22:15:55 +0200 |
commit | a855717a87a8da78b62148e8bf0a629695596097 (patch) | |
tree | bf4606be59922453b284350bf8121907fc705a4f /tests/fuzz-tests/004-simple-dump-tree | |
parent | a1e21ec5a880044f44a9109633c7503bce02cb5e (diff) |
btrfs-progs: tests: remove trivial use of local variables
No need to use a temporary variable if the parameter usage is obvious
from the context.
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tests/fuzz-tests/004-simple-dump-tree')
-rwxr-xr-x | tests/fuzz-tests/004-simple-dump-tree/test.sh | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/fuzz-tests/004-simple-dump-tree/test.sh b/tests/fuzz-tests/004-simple-dump-tree/test.sh index 857c742a..c09b8478 100755 --- a/tests/fuzz-tests/004-simple-dump-tree/test.sh +++ b/tests/fuzz-tests/004-simple-dump-tree/test.sh @@ -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" |