Skip to content

Commit

Permalink
selftests: libs: Drop unused functions
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Petr Machata authored and David S. Miller committed Jun 28, 2024
1 parent 4e9cd3d commit 06704a0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 29 deletions.
11 changes: 0 additions & 11 deletions tools/testing/selftests/net/forwarding/mirror_gre_lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
18 changes: 0 additions & 18 deletions tools/testing/selftests/net/forwarding/mirror_lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 06704a0

Please sign in to comment.