Commit b71dd705 authored by Matthieu Baerts's avatar Matthieu Baerts Committed by Jakub Kicinski

selftests: mptcp: removed defined but unused vars

Some variables were set but never used.

This was not causing any issues except adding some confusion and having
shellcheck complaining about them.
Reviewed-by: default avatarMat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: default avatarMatthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent b4e0df4c
...@@ -781,7 +781,6 @@ run_tests_mptfo() ...@@ -781,7 +781,6 @@ run_tests_mptfo()
run_tests_disconnect() run_tests_disconnect()
{ {
local peekmode="$1"
local old_cin=$cin local old_cin=$cin
local old_sin=$sin local old_sin=$sin
...@@ -789,7 +788,6 @@ run_tests_disconnect() ...@@ -789,7 +788,6 @@ run_tests_disconnect()
# force do_transfer to cope with the multiple tranmissions # force do_transfer to cope with the multiple tranmissions
sin="$cin.disconnect" sin="$cin.disconnect"
sin_disconnect=$old_sin
cin="$cin.disconnect" cin="$cin.disconnect"
cin_disconnect="$old_cin" cin_disconnect="$old_cin"
connect_per_transfer=3 connect_per_transfer=3
...@@ -800,7 +798,6 @@ run_tests_disconnect() ...@@ -800,7 +798,6 @@ run_tests_disconnect()
# restore previous status # restore previous status
sin=$old_sin sin=$old_sin
sin_disconnect="$cout".disconnect
cin=$old_cin cin=$old_cin
cin_disconnect="$cin".disconnect cin_disconnect="$cin".disconnect
connect_per_transfer=1 connect_per_transfer=1
......
...@@ -10,7 +10,6 @@ ksft_skip=4 ...@@ -10,7 +10,6 @@ ksft_skip=4
timeout_poll=30 timeout_poll=30
timeout_test=$((timeout_poll * 2 + 1)) timeout_test=$((timeout_poll * 2 + 1))
mptcp_connect="" mptcp_connect=""
do_all_tests=1
add_mark_rules() add_mark_rules()
{ {
......
...@@ -148,9 +148,6 @@ do_transfer() ...@@ -148,9 +148,6 @@ do_transfer()
:> "$sout" :> "$sout"
:> "$capout" :> "$capout"
local addr_port
addr_port=$(printf "%s:%d" ${connect_addr} ${port})
if $capture; then if $capture; then
local capuser local capuser
if [ -z $SUDO_USER ] ; then if [ -z $SUDO_USER ] ; then
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment