Skip to content

Commit 2045e8d

Browse files
committed
block/002,scsi/007,zbd/003: remove options for shellcheck SC2119
The commits 852996f and 45b203c added options of a few function calls to avoid the shellcheck warning SC2119. After that, SC2119 was disabled with the commit 3d1c0fe. Then the added options are no longer needed. Remove them to clean up. Link: https://lore.kernel.org/linux-nvme/o5xnqvujzakhrudv7p64owiuzgozmean6blxow4vdxhdqozg5v@qznf2tzmey7k/ Signed-off-by: Shin'ichiro Kawasaki <[email protected]>
1 parent a12281b commit 2045e8d

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

tests/block/002

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ requires() {
1919
test() {
2020
echo "Running ${TEST_NAME}"
2121

22-
if ! _configure_scsi_debug delay=0; then
22+
if ! _configure_scsi_debug; then
2323
return 1
2424
fi
2525

tests/scsi/007

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ test() {
2828

2929
echo "Running ${TEST_NAME}"
3030

31-
if ! _init_scsi_debug delay=0; then
31+
if ! _init_scsi_debug; then
3232
return 1
3333
fi
3434

tests/zbd/003

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ test_device() {
4343

4444
# Select 2 target zones so that reset zone range also get tested
4545
_get_blkzone_report "${TEST_DEV}" || return $?
46-
zone_idx=$(_find_two_contiguous_seq_zones "") || return $?
46+
zone_idx=$(_find_two_contiguous_seq_zones) || return $?
4747
target_zones=( "${zone_idx}" "$((zone_idx + 1))" )
4848

4949
# Reset the 2 target zones and write 4KB in each zone to increment

0 commit comments

Comments
 (0)