summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/net/forwarding/mirror_gre_neigh.sh
diff options
context:
space:
mode:
authorPetr Machata <petrm@nvidia.com>2024-06-27 16:48:39 +0200
committerDavid S. Miller <davem@davemloft.net>2024-06-28 10:55:36 +0100
commit28e67746b73da72f57609c7250d514051e787e65 (patch)
tree2bb37dd221723340d03bbf8ca94ea5ecaaffd909 /tools/testing/selftests/net/forwarding/mirror_gre_neigh.sh
parentd5fbb2eb33c287450dadd6e2b5f6b698f0243a14 (diff)
selftests: mirror: Drop direction argument from several functions
The argument is not used by these functions except to propagate it for ultimately no purpose. Signed-off-by: Petr Machata <petrm@nvidia.com> Reviewed-by: Danielle Ratson <danieller@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/net/forwarding/mirror_gre_neigh.sh')
-rwxr-xr-xtools/testing/selftests/net/forwarding/mirror_gre_neigh.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/testing/selftests/net/forwarding/mirror_gre_neigh.sh b/tools/testing/selftests/net/forwarding/mirror_gre_neigh.sh
index fc0508e40fca..0f2c38eca2a3 100755
--- a/tools/testing/selftests/net/forwarding/mirror_gre_neigh.sh
+++ b/tools/testing/selftests/net/forwarding/mirror_gre_neigh.sh
@@ -66,9 +66,9 @@ test_span_gre_neigh()
ip neigh replace dev $swp3 $addr lladdr 00:11:22:33:44:55
mirror_install $swp1 $direction $tundev "matchall $tcflags"
- fail_test_span_gre_dir $tundev ingress
+ fail_test_span_gre_dir $tundev
ip neigh del dev $swp3 $addr
- quick_test_span_gre_dir $tundev ingress
+ quick_test_span_gre_dir $tundev
mirror_uninstall $swp1 $direction
log_test "$direction $what: neighbor change ($tcflags)"