From 016b2f3b9f01d802dc039a429e590324b86d33ab Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Tue, 6 Aug 2024 15:22:20 +0200 Subject: [PATCH] (!1639) 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 --- 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 139ad484d..ba7bbd6e9 100644 --- a/hw/xfree86/dri/xf86dri.c +++ b/hw/xfree86/dri/xf86dri.c @@ -559,12 +559,6 @@ ProcXF86DRIDispatch(register ClientPtr client) } } -static int _X_COLD -SProcXF86DRIQueryVersion(register ClientPtr client) -{ - return ProcXF86DRIQueryVersion(client); -} - static int _X_COLD SProcXF86DRIQueryDirectRenderingCapable(register ClientPtr client) { @@ -585,7 +579,7 @@ SProcXF86DRIDispatch(register ClientPtr client) */ switch (stuff->data) { case X_XF86DRIQueryVersion: - return SProcXF86DRIQueryVersion(client); + return ProcXF86DRIQueryVersion(client); case X_XF86DRIQueryDirectRenderingCapable: return SProcXF86DRIQueryDirectRenderingCapable(client); default: