From: Luc Verhaegen Date: Fri, 11 Mar 2011 14:02:21 +0000 (+0100) Subject: gpu: pvr: pdump: SYS_DATA::bPowerUpPDumped is unused X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b27922ebfd0f17d6561f4863508303f70cc847c8;p=sgx.git gpu: pvr: pdump: SYS_DATA::bPowerUpPDumped is unused Nothing in the graphics stack uses this. Signed-off-by: Luc Verhaegen Signed-off-by: Imre Deak --- diff --git a/pvr/bridged_pvr_bridge.c b/pvr/bridged_pvr_bridge.c index 7409816..0c24a68 100644 --- a/pvr/bridged_pvr_bridge.c +++ b/pvr/bridged_pvr_bridge.c @@ -1481,15 +1481,6 @@ static int PVRSRVConnectBW(u32 ui32BridgeID, void *psBridgeIn, psConnectServicesOUT->hKernelServices = psPerProc->hPerProcData; psConnectServicesOUT->eError = PVRSRV_OK; -#if defined(PDUMP) - - { - struct SYS_DATA *psSysData; - SysAcquireData(&psSysData); - psSysData->bPowerUpPDumped = IMG_FALSE; - } -#endif - return 0; } diff --git a/pvr/pvrsrv.c b/pvr/pvrsrv.c index 332e000..72365ea 100644 --- a/pvr/pvrsrv.c +++ b/pvr/pvrsrv.c @@ -146,10 +146,6 @@ enum PVRSRV_ERROR PVRSRVInit(struct SYS_DATA *psSysData) psSysData->eCurrentPowerState = PVRSRV_POWER_STATE_D0; psSysData->eFailedPowerState = PVRSRV_POWER_Unspecified; -#if defined(PDUMP) - psSysData->bPowerUpPDumped = IMG_FALSE; -#endif - if (OSAllocMem(PVRSRV_PAGEABLE_SELECT, sizeof(struct PVRSRV_EVENTOBJECT), (void **) &psSysData->psGlobalEventObject, diff --git a/pvr/syscommon.h b/pvr/syscommon.h index c55ac38..5201210 100644 --- a/pvr/syscommon.h +++ b/pvr/syscommon.h @@ -78,7 +78,7 @@ struct SYS_DATA { char *pszVersionString; struct PVRSRV_EVENTOBJECT *psGlobalEventObject; #if defined(PDUMP) - IMG_BOOL bPowerUpPDumped; + IMG_BOOL Unused; #endif };