From: Imre Deak Date: Wed, 31 Mar 2010 16:51:04 +0000 (+0300) Subject: gpu: pvr: remove unused per device variable X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=453490a091d114603ee32de392351919946d86dc;p=sgx.git gpu: pvr: remove unused per device variable Signed-off-by: Imre Deak --- diff --git a/pvr/queue.c b/pvr/queue.c index 71fa425..938757f 100644 --- a/pvr/queue.c +++ b/pvr/queue.c @@ -530,12 +530,8 @@ enum PVRSRV_ERROR PVRSRVProcessQueues(u32 ui32CallerID, IMG_BOOL bFlush) if (eError != PVRSRV_OK) return eError; - psSysData->bReProcessQueues = IMG_FALSE; - eError = OSLockResource(&psSysData->sQProcessResource, ui32CallerID); if (eError != PVRSRV_OK) { - psSysData->bReProcessQueues = IMG_TRUE; - if (ui32CallerID == ISR_ID) { if (bFlush) { PVR_DPF(PVR_DBG_ERROR, "PVRSRVProcessQueues: " @@ -601,9 +597,6 @@ enum PVRSRV_ERROR PVRSRVProcessQueues(u32 ui32CallerID, IMG_BOOL bFlush) OSUnlockResource(&psSysData->sQProcessResource, ui32CallerID); - if (psSysData->bReProcessQueues) - return PVRSRV_ERROR_PROCESSING_BLOCKED; - return PVRSRV_OK; } diff --git a/pvr/syscommon.h b/pvr/syscommon.h index a7ca338..e576fce 100644 --- a/pvr/syscommon.h +++ b/pvr/syscommon.h @@ -75,8 +75,6 @@ struct SYS_DATA { struct COMMAND_COMPLETE_DATA **ppsCmdCompleteData[SYS_DEVICE_COUNT]; - IMG_BOOL bReProcessQueues; - struct RA_ARENA *apsLocalDevMemArena[SYS_MAX_LOCAL_DEVMEM_ARENAS]; char *pszVersionString;