Skip to content

Commit d721b68

Browse files
Fabian Frederickummakynes
authored andcommitted
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 <[email protected]> Signed-off-by: Pablo Neira Ayuso <[email protected]>
1 parent a7bf670 commit d721b68

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tools/testing/selftests/netfilter/nft_flowtable.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,6 @@ ns2out=$(mktemp)
212212
make_file()
213213
{
214214
name=$1
215-
who=$2
216215

217216
SIZE=$((RANDOM % (1024 * 8)))
218217
TSIZE=$((SIZE * 1024))
@@ -304,8 +303,8 @@ test_tcp_forwarding_nat()
304303
return $lret
305304
}
306305

307-
make_file "$ns1in" "ns1"
308-
make_file "$ns2in" "ns2"
306+
make_file "$ns1in"
307+
make_file "$ns2in"
309308

310309
# First test:
311310
# No PMTU discovery, nsr1 is expected to fragment packets from ns1 to ns2 as needed.

0 commit comments

Comments
 (0)