]> www.infradead.org Git - users/hch/xfstests-dev.git/commitdiff
check: remove unused variable
authorJan Tulak <jtulak@redhat.com>
Thu, 14 Jul 2016 12:43:31 +0000 (14:43 +0200)
committerEryu Guan <eguan@redhat.com>
Mon, 18 Jul 2016 08:55:04 +0000 (16:55 +0800)
After the previous patch moved few lines of code, one seqnum
assignment is now immediately overwritten by another. Remove the
useless one.

Signed-off-by: Jan Tulak <jtulak@redhat.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
check

diff --git a/check b/check
index f6a2c7b472a51741f4cbd2826642e4d61834a99d..9fbc305e90217310317be58be31595d31e94faa1 100755 (executable)
--- a/check
+++ b/check
@@ -554,7 +554,6 @@ for section in $HOST_OPTIONS_SECTIONS; do
                if [ -f $full_seq ] \
                    && [ x$(echo $bname | grep -o "^$VALID_TEST_ID") != x ]; then
                    seq=$full_seq
-                   seqnum=${full_seq#*/}
                fi
            fi