aboutsummaryrefslogtreecommitdiffstats
path: root/utils/rds-ctl/rds-ctl.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/rds-ctl/rds-ctl.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/rds-ctl/rds-ctl.cpp')
-rw-r--r--utils/rds-ctl/rds-ctl.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/utils/rds-ctl/rds-ctl.cpp b/utils/rds-ctl/rds-ctl.cpp
index e2718282..8161aa45 100644
--- a/utils/rds-ctl/rds-ctl.cpp
+++ b/utils/rds-ctl/rds-ctl.cpp
@@ -27,8 +27,6 @@
#include <linux/videodev2.h>
#include <libv4l2rds.h>
-#define ARRAY_SIZE(arr) ((int)(sizeof(arr) / sizeof((arr)[0])))
-
using dev_vec = std::vector<std::string>;
using dev_map = std::map<std::string, std::string>;

Privacy Policy