From 2d9b54cb9563795ff025646aa40d0115fe3bdc68 Mon Sep 17 00:00:00 2001 From: Imre Deak Date: Tue, 6 Apr 2010 02:14:32 +0300 Subject: [PATCH] gpu: pvr: remove unused function args from SGXTestActivePowerEvent MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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ä --- pvr/pvr_debug.c | 2 +- pvr/sgxinit.c | 4 ++-- pvr/sgxutils.c | 5 ++--- pvr/sgxutils.h | 3 +-- 4 files changed, 6 insertions(+), 8 deletions(-) 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, -- 2.47.2