From 38e8cc47f589fa90be57b61672de40f284a55284 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Thu, 22 May 2025 17:16:23 +0200 Subject: [PATCH] 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 becf3ce47..c3c0e8270 100644 --- a/dix/dispatch.c +++ b/dix/dispatch.c @@ -590,14 +590,6 @@ Dispatch(void) ResetOsBuffers(); } -static int VendorRelease = VENDOR_RELEASE; - -void -SetVendorRelease(int release) -{ - VendorRelease = release; -} - Bool CreateConnectionBlock(void) { @@ -615,7 +607,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 97c367b3b..b3c0705a6 100644 --- a/include/dix.h +++ b/include/dix.h @@ -202,11 +202,6 @@ extern _X_EXPORT Bool ValidAtom(Atom /*atom */ ); extern _X_EXPORT const char *NameForAtom(Atom /*atom */ ); -/* main.c */ - -extern _X_EXPORT void -SetVendorRelease(int release); - /* events.c */ extern _X_EXPORT void