]> www.infradead.org Git - linux.git/commitdiff
selftests: libs: Drop unused functions
authorPetr Machata <petrm@nvidia.com>
Thu, 27 Jun 2024 14:48:48 +0000 (16:48 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 28 Jun 2024 09:55:38 +0000 (10:55 +0100)
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>
tools/testing/selftests/net/forwarding/mirror_gre_lib.sh
tools/testing/selftests/net/forwarding/mirror_lib.sh

index aa96644e3866b50ac32af45e76dbb6d193f4bde2..20078cc55f24bc6eede738d9fc41c55ee3206793 100644 (file)
@@ -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
index 1fc8545da6e0349a34562589808268d3cf5aea60..6bf9d5ae933c72f5d738b0053776a8adadc1c04d 100644 (file)
@@ -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