tc-testing: remove duplicate code in tdc.py
authorRoman Mashak <mrv@mojatatu.com>
Tue, 7 Apr 2020 17:13:25 +0000 (13:13 -0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Apr 2020 01:38:55 +0000 (18:38 -0700)
commitcb9533d1c683219bc982905046c05e24bfaf4996
tree07c7254994aca97abaa2e6e39e1f94f27f839a1b
parent4faab8c446def7667adf1f722456c2f4c304069c
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>
tools/testing/selftests/tc-testing/tdc.py