selftests/seccomp: remove ARRAY_SIZE define from seccomp_benchmark
authorShuah Khan <skhan@linuxfoundation.org>
Thu, 9 Dec 2021 23:20:53 +0000 (16:20 -0700)
committerShuah Khan <skhan@linuxfoundation.org>
Sat, 11 Dec 2021 00:51:09 +0000 (17:51 -0700)
commit6e5eba2e336694b88e3ef6584a25e0723c173ae2
tree0e5067523c6f9e52a12f8021109ca696871903c5
parent07ad4f7629d4802ff0d962b0ac23ea6445964e2a
selftests/seccomp: remove ARRAY_SIZE define from seccomp_benchmark

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 seccomp_benchmark and pickup the one defined in
kselftest.h.

Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/seccomp/seccomp_benchmark.c