diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2012-06-04 12:04:30 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2012-06-04 12:05:46 +0100 |
commit | fae9c054d47203b68a6c09647945d23074ea4df9 (patch) | |
tree | e532c45ab3d643df86f4e32d4636f2ceaba96c01 /src/legacy | |
parent | 880ec2c9a56d3de33c7fbbfa4c043082fbcf7a78 (diff) |
legacy/i810: Remove unused variable
In order to reduce the volumes of output from static analysers.
Reported-by: Zdenek Kabelac <zkabelac@redhat.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/legacy')
-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; |