From 2fe8f72029dc8b6643d575256f668fca21e5a6e9 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Tue, 27 Jan 2026 19:41:15 +0100 Subject: [PATCH] xfree86: ddc: replace NEXT_DT_MD_SECTION() macro trivial enough to be replaced easily. Signed-off-by: Enrico Weigelt, metux IT consult --- hw/xfree86/ddc/edid.h | 1 - hw/xfree86/ddc/interpret_edid.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/hw/xfree86/ddc/edid.h b/hw/xfree86/ddc/edid.h index ed34d5891..57bae061f 100644 --- a/hw/xfree86/ddc/edid.h +++ b/hw/xfree86/ddc/edid.h @@ -286,7 +286,6 @@ #define ADD_DUMMY 0x10 #define _NEXT_DT_MD_SECTION(x) (x = (x + DET_TIMING_INFO_LEN)) -#define NEXT_DT_MD_SECTION _NEXT_DT_MD_SECTION(c) #endif /* _PARSE_EDID_ */ diff --git a/hw/xfree86/ddc/interpret_edid.c b/hw/xfree86/ddc/interpret_edid.c index 2e99a3fef..cbdc1ce23 100644 --- a/hw/xfree86/ddc/interpret_edid.c +++ b/hw/xfree86/ddc/interpret_edid.c @@ -640,7 +640,7 @@ get_dt_md_section(uint8_t * c, struct edid_version *ver, for (i = 0; i < DET_TIMINGS; i++) { fetch_detailed_block(c, ver, det_mon + i); - NEXT_DT_MD_SECTION; + _NEXT_DT_MD_SECTION(c); } }