]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
fstests: remove duplicate initialization in the testcase
authorAnand Jain <anand.jain@oracle.com>
Sat, 24 May 2025 03:57:13 +0000 (11:57 +0800)
committerZorro Lang <zlang@kernel.org>
Thu, 10 Jul 2025 21:18:16 +0000 (05:18 +0800)
commiteb0191edd4a51981387b4aa2dcf22177543ad4b1
treeda22da1f89e36f3df4a3dbce00006480317f79cb
parent7ca990e22e0d61421d2314a81f10e2f77ac8f53a
fstests: remove duplicate initialization in the testcase

_begin_fstest() already initializes several variables, including `seq` and
`seqres`, so remove those redundant initializations from the testcase.

Also, ext4/053 unnecessarily re-initializes `here`, `tmp`, and `status`,
which `_begin_fstest` already handles. Remove those as well.

and remove template comment.

Signed-off-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/btrfs/253
tests/ext4/053