diff options
author | Dave Airlie <airlied@linux.ie> | 2006-06-15 20:34:56 +1000 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2006-06-15 20:34:56 +1000 |
commit | f46c3bebe821ee0031770d98d04bd406d1abb9ed (patch) | |
tree | 73ae0aefe077341ce9171e5e27a403d9eb79e402 /src/radeon_cursor.c | |
parent | 6c3f81683abab8ff6b8f2fcaf01a2a1a63af5ef6 (diff) |
fix some more unused variables and bad parameter passing
Diffstat (limited to 'src/radeon_cursor.c')
-rw-r--r-- | src/radeon_cursor.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/radeon_cursor.c b/src/radeon_cursor.c index 3c748a87..d7a38917 100644 --- a/src/radeon_cursor.c +++ b/src/radeon_cursor.c @@ -134,8 +134,8 @@ RADEONCursorAllocEXA(ScreenPtr pScreen) info->cursor_offset = 0; } else { xf86DrvMsg(pScrn->scrnIndex, X_INFO, - "Using hardware cursor\n", - info->cursor_offset = info->cursorArea->offset); + "Using hardware cursor\n"); + info->cursor_offset = info->cursorArea->offset; RADEONCTRACE(("%s (0x%08x-0x%08x)\n", __func__, info->cursor_offset, @@ -357,9 +357,6 @@ static Bool RADEONUseHWCursor(ScreenPtr pScreen, CursorPtr pCurs) static Bool RADEONUseHWCursorARGB (ScreenPtr pScreen, CursorPtr pCurs) { - ScrnInfoPtr pScrn = xf86Screens[pScreen->myNum]; - RADEONInfoPtr info = RADEONPTR(pScrn); - if (RADEONUseHWCursor(pScreen, pCurs) && pCurs->bits->height <= CURSOR_HEIGHT && pCurs->bits->width <= CURSOR_WIDTH) return TRUE; |