]> www.infradead.org Git - nvme.git/commit
selftests: mlxsw: mirror_gre: Simplify
authorPetr Machata <petrm@nvidia.com>
Thu, 27 Jun 2024 14:48:45 +0000 (16:48 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 28 Jun 2024 09:55:37 +0000 (10:55 +0100)
commit388b2d985a136c241d918e0647b1c421de229abb
tree1bf807884481c7c0680dd6e13673de4c636ef539
parentd361d78fe2cc8a7a60e8c71825f84e70d34938af
selftests: mlxsw: mirror_gre: Simplify

After the previous patch, the function test_span_failable() is always
called with should_fail=1. Drop the argument and streamline the code.

Signed-off-by: Petr Machata <petrm@nvidia.com>
Reviewed-by: Danielle Ratson <danieller@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/drivers/net/mlxsw/mirror_gre.sh