From 8c2b016ae90de0da7277bb0366226c39dc48420c Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Mon, 31 Mar 2025 15:05:16 +0200 Subject: [PATCH] (1884) xfree86: dri: drop unused variable DRIReqCode This variable is assigned once, but never used. Signed-off-by: Enrico Weigelt, metux IT consult --- hw/xfree86/dri/xf86dri.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/hw/xfree86/dri/xf86dri.c b/hw/xfree86/dri/xf86dri.c index 709420564..ffe7008a3 100644 --- a/hw/xfree86/dri/xf86dri.c +++ b/hw/xfree86/dri/xf86dri.c @@ -68,8 +68,6 @@ static int DRIErrorBase; static void XF86DRIResetProc(ExtensionEntry *extEntry); -static unsigned char DRIReqCode = 0; - /*ARGSUSED*/ static void XF86DRIResetProc(ExtensionEntry *extEntry) @@ -596,7 +594,6 @@ XFree86DRIExtensionInit(void) ProcXF86DRIDispatch, SProcXF86DRIDispatch, XF86DRIResetProc, StandardMinorOpcode))) { - DRIReqCode = (unsigned char) extEntry->base; DRIErrorBase = extEntry->errorBase; } }