From 2cd1b1b376c04221b1a14ee47aa80f29fe938787 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Thu, 22 May 2025 17:16:23 +0200 Subject: [PATCH] (!2002) dix: drop unused SetVendorRelease() Not used anywhere, so no need to keep it around any longer. Signed-off-by: Enrico Weigelt, metux IT consult --- dix/dispatch.c | 10 +--------- include/dix.h | 5 ----- 2 files changed, 1 insertion(+), 14 deletions(-) diff --git a/dix/dispatch.c b/dix/dispatch.c index b3e5feacc..39618cbc8 100644 --- a/dix/dispatch.c +++ b/dix/dispatch.c @@ -597,14 +597,6 @@ Dispatch(void) ResetOsBuffers(); } -static int VendorRelease = VENDOR_RELEASE; - -void -SetVendorRelease(int release) -{ - VendorRelease = release; -} - Bool CreateConnectionBlock(void) { @@ -622,7 +614,7 @@ CreateConnectionBlock(void) /* Leave off the ridBase and ridMask, these must be sent with connection */ - setup.release = VendorRelease; + setup.release = VENDOR_RELEASE; /* * per-server image and bitmap parameters are defined in Xmd.h */ diff --git a/include/dix.h b/include/dix.h index 3796942e0..7cd97ab95 100644 --- a/include/dix.h +++ b/include/dix.h @@ -263,11 +263,6 @@ FreeAllAtoms(void); extern _X_EXPORT void InitAtoms(void); -/* main.c */ - -extern _X_EXPORT void -SetVendorRelease(int release); - /* events.c */ extern _X_EXPORT void