summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2010-11-11 18:48:40 +1000
committerDave Airlie <airlied@redhat.com>2010-11-11 18:48:40 +1000
commit51e51f864a691e51b5193d102398ced667e0beb1 (patch)
treefed85b1fe21fd3a7c45310a35484678facb66d7d
parentabbf73ee990512ac16ca77e8bb23288495e1f9f4 (diff)
evergreen: remove warnings since last commit
-rw-r--r--src/radeon_driver.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/radeon_driver.c b/src/radeon_driver.c
index ae2f5258..89b7713c 100644
--- a/src/radeon_driver.c
+++ b/src/radeon_driver.c
@@ -4600,7 +4600,7 @@ evergreen_save(ScrnInfoPtr pScrn, RADEONSavePtr save)
RADEONInfoPtr info = RADEONPTR(pScrn);
unsigned char *RADEONMMIO = info->MMIO;
struct avivo_state *state = &save->avivo;
- int i, j;
+ int i;
state->vga1_cntl = INREG(AVIVO_D1VGA_CONTROL);
state->vga2_cntl = INREG(AVIVO_D2VGA_CONTROL);
@@ -4988,7 +4988,7 @@ evergreen_restore(ScrnInfoPtr pScrn, RADEONSavePtr restore)
RADEONInfoPtr info = RADEONPTR(pScrn);
unsigned char *RADEONMMIO = info->MMIO;
struct avivo_state *state = &restore->avivo;
- int i, j;
+ int i;
OUTREG(AVIVO_D1VGA_CONTROL, state->vga1_cntl);
OUTREG(AVIVO_D2VGA_CONTROL, state->vga2_cntl);;