gpu: pvr: remove unused function args from SGXTestActivePowerEvent
authorImre Deak <imre.deak@nokia.com>
Mon, 5 Apr 2010 23:14:32 +0000 (02:14 +0300)
committerGrazvydas Ignotas <notasas@gmail.com>
Sun, 20 May 2012 18:09:41 +0000 (21:09 +0300)
See the similar commits earlier in the patchset to see why this is
justified.

Signed-off-by: Imre Deak <imre.deak@nokia.com>
CC: Mark Underwood <mark.underwood@imgtec.com>
CC: Mark Riding <mark.riding@imgtec.com>
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@nokia.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@nokia.com>
pvr/pvr_debug.c
pvr/sgxinit.c
pvr/sgxutils.c
pvr/sgxutils.h

index 1280af1..0a3707e 100644 (file)
@@ -305,7 +305,7 @@ static int pvr_dbg_reset(void *data, u64 val)
         */
        HWRecoveryResetSGX(node);
 
-       SGXTestActivePowerEvent(node, KERNEL_ID);
+       SGXTestActivePowerEvent(node);
 exit:
        pvr_unlock();
 
index b9afb5a..301b94f 100644 (file)
@@ -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;
 }
index 469fb58..270f737 100644 (file)
@@ -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;
 }
index 66b61e8..3f2f6d6 100644 (file)
@@ -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,