selftests/net: remove ARRAY_SIZE define from individual tests
authorShuah Khan <skhan@linuxfoundation.org>
Thu, 9 Dec 2021 21:10:23 +0000 (14:10 -0700)
committerShuah Khan <skhan@linuxfoundation.org>
Sat, 11 Dec 2021 00:50:57 +0000 (17:50 -0700)
commit1329e40ebd18f1171f89f9e61b7a4aed9a1de406
treebf935093f212c433ba57c68c5809d87e55d495fe
parent5a69d33b3ed62f6c1eb7ad3b9c350d29f49513e8
selftests/net: remove ARRAY_SIZE define from individual tests

ARRAY_SIZE is defined in several selftests. Remove definitions from
individual test files and include header file for the define instead.
ARRAY_SIZE define is added in a separate patch to prepare for this
change.

Remove ARRAY_SIZE from net tests and pickup the one defined in
kselftest.h.

Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/net/gro.c
tools/testing/selftests/net/ipsec.c
tools/testing/selftests/net/reuseport_bpf.c
tools/testing/selftests/net/rxtimestamp.c
tools/testing/selftests/net/socket.c
tools/testing/selftests/net/tcp_fastopen_backup_key.c