From f46c3bebe821ee0031770d98d04bd406d1abb9ed Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Thu, 15 Jun 2006 20:34:56 +1000 Subject: fix some more unused variables and bad parameter passing --- src/radeon_cursor.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/radeon_cursor.c') 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; -- cgit v1.2.3