From 676618ec41b83af6f836befc3787feaced0cc0f7 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Wed, 7 Aug 2024 14:03:20 +0200 Subject: [PATCH] (submit/fixup-req-len) Xext: xcmisc: drop now obsolete swap procs Several SProc's have become no-ops, just calling the actual Proc's, so we can get rid of them entirely. Signed-off-by: Enrico Weigelt, metux IT consult --- Xext/xcmisc.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/Xext/xcmisc.c b/Xext/xcmisc.c index 1f8621206..fad019d0b 100644 --- a/Xext/xcmisc.c +++ b/Xext/xcmisc.c @@ -152,12 +152,6 @@ SProcXCMiscGetVersion(ClientPtr client) return ProcXCMiscGetVersion(client); } -static int _X_COLD -SProcXCMiscGetXIDRange(ClientPtr client) -{ - return ProcXCMiscGetXIDRange(client); -} - static int _X_COLD SProcXCMiscGetXIDList(ClientPtr client) { @@ -176,7 +170,7 @@ SProcXCMiscDispatch(ClientPtr client) case X_XCMiscGetVersion: return SProcXCMiscGetVersion(client); case X_XCMiscGetXIDRange: - return SProcXCMiscGetXIDRange(client); + return ProcXCMiscGetXIDRange(client); case X_XCMiscGetXIDList: return SProcXCMiscGetXIDList(client); default: