aboutsummaryrefslogtreecommitdiffstats
path: root/utils/cec-follower/cec-processing.cpp
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-follower/cec-processing.cpp
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-follower/cec-processing.cpp')
-rw-r--r--utils/cec-follower/cec-processing.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/utils/cec-follower/cec-processing.cpp b/utils/cec-follower/cec-processing.cpp
index 83ffcc30..02440747 100644
--- a/utils/cec-follower/cec-processing.cpp
+++ b/utils/cec-follower/cec-processing.cpp
@@ -29,9 +29,6 @@
/* Time between each polling message sent to a device */
#define POLL_PERIOD 15000
-#define ARRAY_SIZE(a) \
- (sizeof(a) / sizeof(*a))
-
struct cec_enum_values {
const char *type_name;
__u8 value;

Privacy Policy