summaryrefslogtreecommitdiff
path: root/src/radeon_kms.c
diff options
context:
space:
mode:
authorMichel Dänzer <michel.daenzer@amd.com>2011-08-12 11:21:32 +0200
committerMichel Dänzer <michel@daenzer.net>2011-09-20 13:00:50 +0200
commit11330ca5dc61a70fe4507e63230f9133ca22d891 (patch)
tree93aacb432b988eb9191a27c23436fdd67d693c26 /src/radeon_kms.c
parentfcf0cca9c0ab0f692b222f619aee8f1cdad3b519 (diff)
Remove dead variable remain_size_bytes.
Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
Diffstat (limited to 'src/radeon_kms.c')
-rw-r--r--src/radeon_kms.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/radeon_kms.c b/src/radeon_kms.c
index ccf11524..e1615527 100644
--- a/src/radeon_kms.c
+++ b/src/radeon_kms.c
@@ -1204,7 +1204,7 @@ static Bool radeon_setup_kernel_mem(ScreenPtr pScreen)
int cpp = info->CurrentLayout.pixel_bytes;
int screen_size;
int pitch, base_align;
- int total_size_bytes = 0, remain_size_bytes;
+ int total_size_bytes = 0;
uint32_t tiling_flags = 0;
if (info->accel_state->exa != NULL) {
@@ -1255,9 +1255,6 @@ static Bool radeon_setup_kernel_mem(ScreenPtr pScreen)
/* keep area front front buffer - but don't allocate it yet */
total_size_bytes += screen_size;
- /* work out from the mm size what the exa / tex sizes need to be */
- remain_size_bytes = info->vram_size - total_size_bytes;
-
info->dri->textureSize = 0;
if (info->front_bo == NULL) {