selftests/timens: remove ARRAY_SIZE define from individual tests
authorShuah Khan <skhan@linuxfoundation.org>
Thu, 9 Dec 2021 23:27:45 +0000 (16:27 -0700)
committerShuah Khan <skhan@linuxfoundation.org>
Sat, 11 Dec 2021 00:51:20 +0000 (17:51 -0700)
commit7527c03870fd7bfb21b13656c8b5dda30b6685a7
treeaddcdf2886a7404d6bc68a0f1e1af8a0a51435f2
parent08ca3510f74839a695257392a58a6d7ec142eaed
selftests/timens: 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 timens tests and pickup the one defined in
kselftest.h.

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