From: Imre Deak Date: Mon, 5 Apr 2010 23:14:32 +0000 (+0300) Subject: gpu: pvr: remove unused function args from SGXTestActivePowerEvent X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d9b54cb9563795ff025646aa40d0115fe3bdc68;p=sgx.git gpu: pvr: remove unused function args from SGXTestActivePowerEvent See the similar commits earlier in the patchset to see why this is justified. Signed-off-by: Imre Deak CC: Mark Underwood CC: Mark Riding Reviewed-by: Topi Pohjolainen Reviewed-by: Ville Syrjälä --- diff --git a/pvr/pvr_debug.c b/pvr/pvr_debug.c index 1280af1..0a3707e 100644 --- a/pvr/pvr_debug.c +++ b/pvr/pvr_debug.c @@ -305,7 +305,7 @@ static int pvr_dbg_reset(void *data, u64 val) */ HWRecoveryResetSGX(node); - SGXTestActivePowerEvent(node, KERNEL_ID); + SGXTestActivePowerEvent(node); exit: pvr_unlock(); diff --git a/pvr/sgxinit.c b/pvr/sgxinit.c index b9afb5a..301b94f 100644 --- a/pvr/sgxinit.c +++ b/pvr/sgxinit.c @@ -918,7 +918,7 @@ static void SGX_MISRHandler(void *pvData) if (psDeviceNode->bReProcessDeviceCommandComplete) SGXScheduleProcessQueuesKM(psDeviceNode); - SGXTestActivePowerEvent(psDeviceNode, ISR_ID); + SGXTestActivePowerEvent(psDeviceNode); } enum PVRSRV_ERROR SGXRegisterDevice(struct PVRSRV_DEVICE_NODE *psDeviceNode) @@ -1595,7 +1595,7 @@ enum PVRSRV_ERROR SGXReadDiffCountersKM(void *hDevHandle, u32 ui32Reg, } } - SGXTestActivePowerEvent(psDeviceNode, KERNEL_ID); + SGXTestActivePowerEvent(psDeviceNode); return PVRSRV_OK; } diff --git a/pvr/sgxutils.c b/pvr/sgxutils.c index 469fb58..270f737 100644 --- a/pvr/sgxutils.c +++ b/pvr/sgxutils.c @@ -60,8 +60,7 @@ static void SGXPostActivePowerEvent(struct PVRSRV_DEVICE_NODE *psDeviceNode) SGXScheduleProcessQueuesKM(psDeviceNode); } -void SGXTestActivePowerEvent(struct PVRSRV_DEVICE_NODE *psDeviceNode, - u32 ui32CallerID) +void SGXTestActivePowerEvent(struct PVRSRV_DEVICE_NODE *psDeviceNode) { enum PVRSRV_ERROR eError = PVRSRV_OK; struct PVRSRV_SGXDEV_INFO *psDevInfo = psDeviceNode->pvDevice; @@ -272,7 +271,7 @@ enum PVRSRV_ERROR SGXScheduleCCBCommandKM( ui32CallerID, ui32PDumpFlags); if (ui32CallerID != ISR_ID) - SGXTestActivePowerEvent(psDeviceNode, ui32CallerID); + SGXTestActivePowerEvent(psDeviceNode); return eError; } diff --git a/pvr/sgxutils.h b/pvr/sgxutils.h index 66b61e8..3f2f6d6 100644 --- a/pvr/sgxutils.h +++ b/pvr/sgxutils.h @@ -34,8 +34,7 @@ ((type *)(((char *)(psCCBMemInfo)->pvLinAddrKM) + \ (psCCBKick)->offset)) -void SGXTestActivePowerEvent(struct PVRSRV_DEVICE_NODE *psDeviceNode, - u32 ui32CallerID); +void SGXTestActivePowerEvent(struct PVRSRV_DEVICE_NODE *psDeviceNode); enum PVRSRV_ERROR SGXScheduleCCBCommand( struct PVRSRV_SGXDEV_INFO *psDevInfo,