mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 06:31:49 +00:00
selftests: netfilter: remove unused variable in make_file()
'who' variable was not used in make_file() Problem found using Shellcheck Signed-off-by: Fabian Frederick <fabf@skynet.be> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
This commit is contained in:
parent
a7bf670ebe
commit
d721b68654
@ -212,7 +212,6 @@ ns2out=$(mktemp)
|
||||
make_file()
|
||||
{
|
||||
name=$1
|
||||
who=$2
|
||||
|
||||
SIZE=$((RANDOM % (1024 * 8)))
|
||||
TSIZE=$((SIZE * 1024))
|
||||
@ -304,8 +303,8 @@ test_tcp_forwarding_nat()
|
||||
return $lret
|
||||
}
|
||||
|
||||
make_file "$ns1in" "ns1"
|
||||
make_file "$ns2in" "ns2"
|
||||
make_file "$ns1in"
|
||||
make_file "$ns2in"
|
||||
|
||||
# First test:
|
||||
# No PMTU discovery, nsr1 is expected to fragment packets from ns1 to ns2 as needed.
|
||||
|
Loading…
Reference in New Issue
Block a user