aboutsummaryrefslogtreecommitdiffstats
path: root/utils/cec-compliance/cec-compliance.h
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2021-04-21 00:20:30 -0700
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2021-04-21 09:52:29 +0200
commit9aa8ee696d7db1fc3744aaa9d7c8b27776c44e6b (patch)
tree64b3ba473e6cd886c1887260e9df74bc7e22ccb7 /utils/cec-compliance/cec-compliance.h
parenta1369a2efd1fddeb7568b323596ab814e3ef0ecd (diff)
remove unused ARRAY_SIZE
This is a C construct that is not really needed in C++. Signed-off-by: Rosen Penev <rosenp@gmail.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'utils/cec-compliance/cec-compliance.h')
-rw-r--r--utils/cec-compliance/cec-compliance.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/utils/cec-compliance/cec-compliance.h b/utils/cec-compliance/cec-compliance.h
index 26c70c21..c558f043 100644
--- a/utils/cec-compliance/cec-compliance.h
+++ b/utils/cec-compliance/cec-compliance.h
@@ -191,9 +191,6 @@ using vec_remote_subtests = std::vector<remote_subtest>;
#define CEC_LOG_ADDR_MASK_ALL 0xffff
-#define ARRAY_SIZE(a) \
- (sizeof(a) / sizeof(*a))
-
#define COLOR_GREEN(s) "\033[32m" s "\033[0m"
#define COLOR_RED(s) "\033[1;31m" s "\033[0m"
#define COLOR_BOLD(s) "\033[1m" s "\033[0m"

Privacy Policy