提交 cb9533d1 编写于 作者: R Roman Mashak 提交者: David S. Miller

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: NRoman Mashak <mrv@mojatatu.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 4faab8c4
...@@ -712,7 +712,6 @@ def set_operation_mode(pm, parser, args, remaining): ...@@ -712,7 +712,6 @@ def set_operation_mode(pm, parser, args, remaining):
print_sll(ucat) print_sll(ucat)
exit(0) exit(0)
if args.list:
if args.list: if args.list:
list_test_cases(alltests) list_test_cases(alltests)
exit(0) exit(0)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册