mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-04 08:17:46 +00:00
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>
This commit is contained in:
parent
fc1d330358
commit
8eda796323
1 changed files with 0 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue