remove unused intel_fb decls, code
authorBrian <brian.paul@tungstengraphics.com>
Mon, 5 Nov 2007 16:09:11 +0000 (09:09 -0700)
committerBrian <brian.paul@tungstengraphics.com>
Mon, 5 Nov 2007 16:09:11 +0000 (09:09 -0700)
src/mesa/drivers/dri/intel_winsys/intel_lock.c
src/mesa/drivers/dri/intel_winsys/intel_screen.c

index eee1ccc6ea040f3ce918861dbfd2d7afb77c584d..5962b9259d1c1fc80e8ea76012bebbeb46637f9f 100644 (file)
@@ -73,16 +73,11 @@ intelContendedLock(struct intel_context *intel, GLuint flags)
 void LOCK_HARDWARE( struct intel_context *intel )
 {
     char __ret=0;
-    struct intel_framebuffer *intel_fb = NULL;
     int curbuf;
 
     _glthread_LOCK_MUTEX(lockMutex);
     assert(!intel->locked);
 
-    if (intel->driDrawable) {
-       intel_fb = intel->driDrawable->driverPrivate;
-    }
-
     curbuf = 0; /* current draw buf: 0 = front, 1 = back */
 
     DRM_CAS(intel->driHwLock, intel->hHWContext,
index 0472ea9fe199660e41a6f54915b5225d7ef401f7..cfa61fa67f8c3ea69f8219272174f06a10857572 100644 (file)
@@ -300,15 +300,11 @@ intelDestroyBuffer(__DRIdrawablePrivate * driDrawPriv)
 static int
 intelGetSwapInfo(__DRIdrawablePrivate * dPriv, __DRIswapInfo * sInfo)
 {
-   struct intel_framebuffer *intel_fb;
-
    if ((dPriv == NULL) || (dPriv->driverPrivate == NULL)
        || (sInfo == NULL)) {
       return -1;
    }
 
-   intel_fb = dPriv->driverPrivate;
-
    return 0;
 }