summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Machata <petrm@nvidia.com>2024-06-27 16:48:48 +0200
committerDavid S. Miller <davem@davemloft.net>2024-06-28 10:55:38 +0100
commit06704a0d5e6789be52dfcb2401216c9a02140789 (patch)
treefde63478f410fd89f98111beb49180e3f9ee3230
parent4e9cd3d03af26eda951af577ddad72c4a468502a (diff)
selftests: libs: Drop unused functions
Nothing calls these. Signed-off-by: Petr Machata <petrm@nvidia.com> Reviewed-by: Danielle Ratson <danieller@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--tools/testing/selftests/net/forwarding/mirror_gre_lib.sh11
-rw-r--r--tools/testing/selftests/net/forwarding/mirror_lib.sh18
2 files changed, 0 insertions, 29 deletions
diff --git a/tools/testing/selftests/net/forwarding/mirror_gre_lib.sh b/tools/testing/selftests/net/forwarding/mirror_gre_lib.sh
index aa96644e3866..20078cc55f24 100644
--- a/tools/testing/selftests/net/forwarding/mirror_gre_lib.sh
+++ b/tools/testing/selftests/net/forwarding/mirror_gre_lib.sh
@@ -101,17 +101,6 @@ fail_test_span_gre_dir()
fail_test_span_gre_dir_ips "$tundev" 192.0.2.1 192.0.2.2
}
-test_span_gre_dir()
-{
- local tundev=$1; shift
- local direction=$1; shift
- local forward_type=$1; shift
- local backward_type=$1; shift
-
- test_span_gre_dir_ips "$tundev" "$direction" "$forward_type" \
- "$backward_type" 192.0.2.1 192.0.2.2
-}
-
full_test_span_gre_dir()
{
local tundev=$1; shift
diff --git a/tools/testing/selftests/net/forwarding/mirror_lib.sh b/tools/testing/selftests/net/forwarding/mirror_lib.sh
index 1fc8545da6e0..6bf9d5ae933c 100644
--- a/tools/testing/selftests/net/forwarding/mirror_lib.sh
+++ b/tools/testing/selftests/net/forwarding/mirror_lib.sh
@@ -88,16 +88,6 @@ quick_test_span_dir_ips()
"$forward_type" "$backward_type"
}
-fail_test_span_dir_ips()
-{
- local dev=$1; shift
- local direction=$1; shift
- local ip1=$1; shift
- local ip2=$1; shift
-
- do_test_span_dir_ips 0 "$dev" "$direction" "$ip1" "$ip2"
-}
-
test_span_dir_ips()
{
local dev=$1; shift
@@ -118,14 +108,6 @@ test_span_dir_ips()
icmp_capture_uninstall $dev
}
-fail_test_span_dir()
-{
- local dev=$1; shift
- local direction=$1; shift
-
- fail_test_span_dir_ips "$dev" "$direction" 192.0.2.1 192.0.2.2
-}
-
test_span_dir()
{
local dev=$1; shift