aboutsummaryrefslogtreecommitdiffstats
path: root/utils/cec-compliance/cec-compliance.h
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil-cisco@xs4all.nl>2019-12-11 09:35:59 +0100
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2019-12-11 09:35:59 +0100
commitc90ea50a5f7bbb567765bb22abdbefc045fe2df9 (patch)
tree65ee0f80b4f80455fc94bc419eaed6c521820aec /utils/cec-compliance/cec-compliance.h
parent8a007de2627d719256ea7b226abd16911dd53b23 (diff)
cec: remove duplicate cec_phys_addr_exp defines
Removed some duplicate defines for cec_phys_addr_exp. Also use this define in cec-follower. 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 6e55368e..2d1a0333 100644
--- a/utils/cec-compliance/cec-compliance.h
+++ b/utils/cec-compliance/cec-compliance.h
@@ -193,9 +193,6 @@ struct remote_subtest {
#define ARRAY_SIZE(a) \
(sizeof(a) / sizeof(*a))
-#define cec_phys_addr_exp(pa) \
- ((pa) >> 12), ((pa) >> 8) & 0xf, ((pa) >> 4) & 0xf, (pa) & 0xf
-
#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