selftests: mlxsw: Fix local variable declarations in DSCP tests
authorPetr Machata <petrm@mellanox.com>
Wed, 31 Jul 2019 10:30:26 +0000 (10:30 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 31 Jul 2019 15:47:13 +0000 (08:47 -0700)
commit7700476f319844022f6e469e7acb578178ee29de
tree1fc53367c960940d6cfefae527b40549af2e5b25
parent7084148854e75090712439f73fbe2f4d6bfd96e1
selftests: mlxsw: Fix local variable declarations in DSCP tests

These two tests have some problems in the global scope pollution and on
contrary, contain unnecessary local declarations. Fix them.

Signed-off-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/drivers/net/mlxsw/qos_dscp_bridge.sh
tools/testing/selftests/drivers/net/mlxsw/qos_dscp_router.sh