mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
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: Roman Mashak <mrv@mojatatu.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
4faab8c446
commit
cb9533d1c6
1 changed files with 2 additions and 3 deletions
|
@ -713,9 +713,8 @@ def set_operation_mode(pm, parser, args, remaining):
|
|||
exit(0)
|
||||
|
||||
if args.list:
|
||||
if args.list:
|
||||
list_test_cases(alltests)
|
||||
exit(0)
|
||||
list_test_cases(alltests)
|
||||
exit(0)
|
||||
|
||||
if len(alltests):
|
||||
req_plugins = pm.get_required_plugins(alltests)
|
||||
|
|
Loading…
Add table
Reference in a new issue