From 4b1f99e9dbc732a30b00d329e097b194c98b62dd Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Tue, 6 Aug 2024 15:22:20 +0200 Subject: [PATCH] xfree86: 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 Part-of: (cherry picked from commit 16ca87703ceea242122a384bc360c94e68f726fb) --- hw/xfree86/dri/xf86dri.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/hw/xfree86/dri/xf86dri.c b/hw/xfree86/dri/xf86dri.c index 425ef6d5b..d58651a10 100644 --- a/hw/xfree86/dri/xf86dri.c +++ b/hw/xfree86/dri/xf86dri.c @@ -558,12 +558,6 @@ ProcXF86DRIDispatch(register ClientPtr client) } } -static int _X_COLD -SProcXF86DRIQueryVersion(register ClientPtr client) -{ - return ProcXF86DRIQueryVersion(client); -} - static int _X_COLD SProcXF86DRIQueryDirectRenderingCapable(register ClientPtr client) { @@ -584,7 +578,7 @@ SProcXF86DRIDispatch(register ClientPtr client) */ switch (stuff->data) { case X_XF86DRIQueryVersion: - return SProcXF86DRIQueryVersion(client); + return ProcXF86DRIQueryVersion(client); case X_XF86DRIQueryDirectRenderingCapable: return SProcXF86DRIQueryDirectRenderingCapable(client); default: