summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichel Dänzer <michel.daenzer@amd.com>2012-02-08 11:10:27 +0100
committerMichel Dänzer <michel@daenzer.net>2012-02-08 11:15:04 +0100
commit87f776b966f4200c97a989536d4b71822ae4c0b3 (patch)
tree66bb4019fe7f1ad965735df50ff872f19c7e91b9
parentf63262e2f112a348c45f0dcecd891c8b6d9c5ee8 (diff)
Remove unused local variable 'height'.
Pointed out by gcc -Wunused-variable. Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
-rw-r--r--src/r600_exa.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/r600_exa.c b/src/r600_exa.c
index 595248ad..9ea39e7e 100644
--- a/src/r600_exa.c
+++ b/src/r600_exa.c
@@ -627,8 +627,6 @@ R600PrepareCopy(PixmapPtr pSrc, PixmapPtr pDst,
if (accel_state->same_surface == TRUE) {
#if defined(XF86DRM_MODE)
- unsigned height = RADEON_ALIGN(pDst->drawable.height,
- drmmode_get_height_align(pScrn, accel_state->dst_obj.tiling_flags));
unsigned long size = accel_state->dst_obj.surface->bo_size;
unsigned long align = accel_state->dst_obj.surface->bo_alignment;
#else