diff options
Diffstat (limited to 'src/legacy/i810/i810_dri.c')
-rw-r--r-- | src/legacy/i810/i810_dri.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/legacy/i810/i810_dri.c b/src/legacy/i810/i810_dri.c index a98ed436..24632d4f 100644 --- a/src/legacy/i810/i810_dri.c +++ b/src/legacy/i810/i810_dri.c @@ -659,9 +659,7 @@ I810DRIScreenInit(ScreenPtr pScreen) pI810->cursorARGBHandle = agpHandle; if (agpHandle != DRM_AGP_NO_HANDLE) { - int r; - - if ((r = drmAgpBind(pI810->drmSubFD, agpHandle, tom)) == 0) { + if (drmAgpBind(pI810->drmSubFD, agpHandle, tom) == 0) { xf86DrvMsg(pScrn->scrnIndex, X_INFO, "[agp] GART: Allocated 16K for ARGB mouse cursor image\n"); pI810->CursorARGBStart = tom; |