diff options
author | Shuah Khan <skhan@linuxfoundation.org> | 2021-12-09 13:58:49 -0700 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2021-12-10 17:50:46 -0700 |
commit | 8eda7963235d0c2d6f926dea951f071bf9aa730f (patch) | |
tree | 40787ff80741a3f1e0b98036aee3d4f5f9bd5242 /tools/testing/selftests/ir | |
parent | fc1d330358423f5f812b3c647bf23e25cae5ab15 (diff) | |
download | linux-stable-8eda7963235d0c2d6f926dea951f071bf9aa730f.tar.gz linux-stable-8eda7963235d0c2d6f926dea951f071bf9aa730f.tar.bz2 linux-stable-8eda7963235d0c2d6f926dea951f071bf9aa730f.zip |
selftests/ir: remove ARRAY_SIZE define from ir_loopback.c
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 ir_loopback.c and pickup the one defined
in kselftest.h.
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/testing/selftests/ir')
-rw-r--r-- | tools/testing/selftests/ir/ir_loopback.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/testing/selftests/ir/ir_loopback.c b/tools/testing/selftests/ir/ir_loopback.c index af7f9c7d59bc..06256c96df12 100644 --- a/tools/testing/selftests/ir/ir_loopback.c +++ b/tools/testing/selftests/ir/ir_loopback.c @@ -26,7 +26,6 @@ #include "../kselftest.h" #define TEST_SCANCODES 10 -#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0])) #define SYSFS_PATH_MAX 256 #define DNAME_PATH_MAX 256 |