[PATCH 4/5] glx: dead variable removal

Adam Jackson ajax at redhat.com
Mon Mar 21 13:02:16 PDT 2011


Signed-off-by: Adam Jackson <ajax at redhat.com>
---
 glx/glxext.c    |    8 --------
 glx/glxserver.h |    2 --
 2 files changed, 0 insertions(+), 10 deletions(-)

diff --git a/glx/glxext.c b/glx/glxext.c
index e083c6c..db767f7 100644
--- a/glx/glxext.c
+++ b/glx/glxext.c
@@ -50,7 +50,6 @@
 ** from the server's perspective.
 */
 __GLXcontext *__glXLastContext;
-__GLXcontext *__glXContextList;
 
 /*
 ** X resources.
@@ -67,11 +66,6 @@ static DevPrivateKeyRec glxClientPrivateKeyRec;
 #define glxClientPrivateKey (&glxClientPrivateKeyRec)
 
 /*
-** Client that called into GLX dispatch.
-*/
-ClientPtr __pGlxClient;
-
-/*
 ** Forward declarations.
 */
 static int __glXDispatch(ClientPtr);
@@ -547,8 +541,6 @@ static int __glXDispatch(ClientPtr client)
 	GLboolean rendering = opcode <= X_GLXRenderLarge;
 	__glXleaveServer(rendering);
 
-	__pGlxClient = client;
-
 	retval = (*proc)(cl, (GLbyte *) stuff);
 
 	__glXenterServer(rendering);
diff --git a/glx/glxserver.h b/glx/glxserver.h
index e951126..891315b 100644
--- a/glx/glxserver.h
+++ b/glx/glxserver.h
@@ -96,8 +96,6 @@ void __glXScreenInitVisuals(__GLXscreen *screen);
 extern __GLXcontext *__glXLastContext;
 extern __GLXcontext *__glXForceCurrent(__GLXclientState*, GLXContextTag, int*);
 
-extern ClientPtr __pGlxClient;
-
 int __glXError(int error);
 
 /************************************************************************/
-- 
1.7.4.1



More information about the xorg-devel mailing list