selftests/cgroup: remove ARRAY_SIZE define from cgroup_util.h
authorShuah Khan <skhan@linuxfoundation.org>
Thu, 9 Dec 2021 19:49:13 +0000 (12:49 -0700)
committerShuah Khan <skhan@linuxfoundation.org>
Sat, 11 Dec 2021 00:50:31 +0000 (17:50 -0700)
commit72a571d1e25f732ae7d50b9566ad68ce87c733d9
treed7b5fe0577030ff349d861c607b446ff6ecae8c2
parent2684618b61189544aa4a539fb5df9eb074de8ce6
selftests/cgroup: remove ARRAY_SIZE define from cgroup_util.h

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

Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/cgroup/cgroup_util.h