Commit cb9533d1 authored by Roman Mashak's avatar Roman Mashak Committed by David S. Miller
Browse files

tc-testing: remove duplicate code in tdc.py



In set_operation_mode() function remove duplicated check for args.list
parameter, which is already done one line before.

Signed-off-by: default avatarRoman Mashak <mrv@mojatatu.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 4faab8c4
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -712,7 +712,6 @@ def set_operation_mode(pm, parser, args, remaining):
        print_sll(ucat)
        exit(0)

    if args.list:
    if args.list:
        list_test_cases(alltests)
        exit(0)