[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ce8c777b6a40d7708ffb9cc92d8c7be42f56fef3.1719497773.git.petrm@nvidia.com>
Date: Thu, 27 Jun 2024 16:48:48 +0200
From: Petr Machata <petrm@...dia.com>
To: "David S. Miller" <davem@...emloft.net>, Eric Dumazet
<edumazet@...gle.com>, Jakub Kicinski <kuba@...nel.org>, Paolo Abeni
<pabeni@...hat.com>, <netdev@...r.kernel.org>
CC: Danielle Ratson <danieller@...dia.com>, Petr Machata <petrm@...dia.com>,
Ido Schimmel <idosch@...dia.com>, Hangbin Liu <liuhangbin@...il.com>,
Benjamin Poirier <bpoirier@...dia.com>, Shuah Khan <shuah@...nel.org>,
<linux-kselftest@...r.kernel.org>, Simon Horman <horms@...nel.org>,
<mlxsw@...dia.com>
Subject: [PATCH net-next 11/12] selftests: libs: Drop unused functions
Nothing calls these.
Signed-off-by: Petr Machata <petrm@...dia.com>
Reviewed-by: Danielle Ratson <danieller@...dia.com>
---
.../selftests/net/forwarding/mirror_gre_lib.sh | 11 -----------
.../selftests/net/forwarding/mirror_lib.sh | 18 ------------------
2 files changed, 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
--
2.45.0
Powered by blists - more mailing lists