[PATCH] btrfs: drop no-op count=$(( count-- ))

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]



This line doesn't result in a changed count value. The tests don't
appear to rely on a decremented value, so remove the line.

Signed-off-by: David Disseldorp <ddiss@xxxxxxx>
---
 tests/btrfs/124 | 1 -
 tests/btrfs/125 | 1 -
 2 files changed, 2 deletions(-)

diff --git a/tests/btrfs/124 b/tests/btrfs/124
index e8d77aaa..3d8141a1 100755
--- a/tests/btrfs/124
+++ b/tests/btrfs/124
@@ -74,7 +74,6 @@ _scratch_mount >> $seqres.full 2>&1
 _run_btrfs_util_prog filesystem show
 dd if=/dev/zero of="$SCRATCH_MNT"/tf1 bs=$bs count=1 \
 					>>$seqres.full 2>&1
-count=$(( count-- ))
 echo "unmount" >> $seqres.full
 echo "clean btrfs ko" >> $seqres.full
 _scratch_unmount
diff --git a/tests/btrfs/125 b/tests/btrfs/125
index 44ba49ec..b58f2aa2 100755
--- a/tests/btrfs/125
+++ b/tests/btrfs/125
@@ -80,7 +80,6 @@ dd if=/dev/zero of="$SCRATCH_MNT"/tf1 bs=$bs count=1 \
 					>>$seqres.full 2>&1
 _run_btrfs_util_prog filesystem show
 _run_btrfs_util_prog filesystem df $SCRATCH_MNT
-count=$(( count-- ))
 
 #-------------degraded-init-------------------
 echo >> $seqres.full
-- 
2.34.1




[Index of Archives]     [Linux Filesystems Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux