From f4a84dc23c663ed5ac48965675aa7b970c8e6ca6 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Wed, 28 Jan 2026 19:03:52 +0100 Subject: [PATCH] xfree86: ddc: drop obsolete IS_STEREO() macro It's not actually doing something, so we don't really need it. Signed-off-by: Enrico Weigelt, metux IT consult --- hw/xfree86/ddc/edid.h | 1 - hw/xfree86/ddc/print_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 50b166ebcd..98ca2ef4ec 100644 --- a/hw/xfree86/ddc/edid.h +++ b/hw/xfree86/ddc/edid.h @@ -40,7 +40,6 @@ #define CVT_SUPPORTED(x) (x & 0x1) /* detailed timing misc */ -#define IS_STEREO(x) (x) #define IS_RIGHT_STEREO(x) (x & 0x01) #define IS_LEFT_STEREO(x) (x & 0x02) #define IS_4WAY_STEREO(x) (x & 0x03) diff --git a/hw/xfree86/ddc/print_edid.c b/hw/xfree86/ddc/print_edid.c index 546be987a6..5737e0be58 100644 --- a/hw/xfree86/ddc/print_edid.c +++ b/hw/xfree86/ddc/print_edid.c @@ -363,7 +363,7 @@ print_detailed_timings(int scrnIndex, struct detailed_timings *t) t->v_sync_off + t->v_sync_width + t->v_active, t->v_active + t->v_blanking); xf86ErrorF("v_border: %i\n", t->v_border); - if (IS_STEREO(t->stereo)) { + if (t->stereo) { xf86DrvMsg(scrnIndex, X_INFO, "Stereo: "); if (IS_RIGHT_STEREO(t->stereo)) { if (!t->stereo_1)