]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6c2f68f959cb8ca607d345bb33f4c6785874c0ef
tree07c7254994aca97abaa2e6e39e1f94f27f839a1b
parent4843e0df0d720e67102ee20225f56e18532796ee
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