diff options
author | Dave Airlie <airlied@linux.ie> | 2006-06-15 20:59:33 +1000 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2006-06-15 20:59:33 +1000 |
commit | 6bcf6f29af24b6725e097dd72af8e8b9f6d0676c (patch) | |
tree | 0e7015d2a4f702740deb322b2e5e8811a2f3fbfd /src/radeon_mm_i2c.c | |
parent | d511ef486a15b582e5d1708a17a00701f5cf1ccd (diff) |
some more unused variable cleanups
Diffstat (limited to 'src/radeon_mm_i2c.c')
-rw-r--r-- | src/radeon_mm_i2c.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/radeon_mm_i2c.c b/src/radeon_mm_i2c.c index fbc20631..377c3df4 100644 --- a/src/radeon_mm_i2c.c +++ b/src/radeon_mm_i2c.c @@ -118,7 +118,6 @@ static void RADEON_I2C_Halt (ScrnInfoPtr pScrn) RADEONInfoPtr info = RADEONPTR(pScrn); unsigned char *RADEONMMIO = info->MMIO; CARD8 reg; - long counter = 0; /* reset status flags */ RADEONWaitForIdleMMIO(pScrn); @@ -304,6 +303,7 @@ static Bool R200_I2CWriteRead(I2CDevPtr d, I2CByte *WriteBuffer, int nWrite, return TRUE; } +#if 0 static Bool RADEONProbeAddress(I2CBusPtr b, I2CSlaveAddr addr) { I2CByte a; @@ -316,6 +316,7 @@ static Bool RADEONProbeAddress(I2CBusPtr b, I2CSlaveAddr addr) return I2C_WriteRead(&d, NULL, 0, &a, 1); } +#endif #define I2C_CLOCK_FREQ (60000.0) @@ -378,8 +379,6 @@ void RADEONInitI2C(ScrnInfoPtr pScrn, RADEONPortPrivPtr pPriv) double nm; RADEONInfoPtr info = RADEONPTR(pScrn); RADEONPLLPtr pll = &(info->pll); - int i; - unsigned char *RADEONMMIO = info->MMIO; pPriv->i2c = NULL; pPriv->fi1236 = NULL; |