gpu: pvr: remove unused per device variable
authorImre Deak <imre.deak@nokia.com>
Wed, 31 Mar 2010 16:51:04 +0000 (19:51 +0300)
committerGrazvydas Ignotas <notasas@gmail.com>
Sun, 20 May 2012 18:09:40 +0000 (21:09 +0300)
Signed-off-by: Imre Deak <imre.deak@nokia.com>
pvr/queue.c
pvr/syscommon.h

index 71fa425..938757f 100644 (file)
@@ -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;
 }
 
index a7ca338..e576fce 100644 (file)
@@ -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;