gpu: pvr: remove unused function args from PVRSRVProcessQueues
authorImre Deak <imre.deak@nokia.com>
Mon, 5 Apr 2010 22:01:56 +0000 (01:01 +0300)
committerGrazvydas Ignotas <notasas@gmail.com>
Sun, 20 May 2012 18:09:41 +0000 (21:09 +0300)
See the earlier commit with a similar change on 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/deviceclass.c
pvr/pvrsrv.c
pvr/queue.c
pvr/queue.h
pvr/sgxinit.c

index 6fde440..c5374e5 100644 (file)
@@ -1055,7 +1055,7 @@ enum PVRSRV_ERROR PVRSRVSwapToDCBufferKM(void *hDeviceKM, void *hBuffer,
        }
 
        LOOP_UNTIL_TIMEOUT(MAX_HW_TIME_US) {
-               if (PVRSRVProcessQueues(KERNEL_ID, IMG_FALSE) !=
+               if (PVRSRVProcessQueues(IMG_FALSE) !=
                    PVRSRV_ERROR_PROCESSING_BLOCKED) {
                        goto ProcessedQueues;
                }
@@ -1139,7 +1139,7 @@ enum PVRSRV_ERROR PVRSRVSwapToDCSystemKM(void *hDeviceKM, void *hSwapChain)
        }
 
        LOOP_UNTIL_TIMEOUT(MAX_HW_TIME_US) {
-               if (PVRSRVProcessQueues(KERNEL_ID, IMG_FALSE) !=
+               if (PVRSRVProcessQueues(IMG_FALSE) !=
                    PVRSRV_ERROR_PROCESSING_BLOCKED) {
                        goto ProcessedQueues;
                }
index 30d9c63..1e6de58 100644 (file)
@@ -795,9 +795,9 @@ void PVRSRVMISR(void *pvSysData)
                psDeviceNode = psDeviceNode->psNext;
        }
 
-       if (PVRSRVProcessQueues(ISR_ID, IMG_FALSE) ==
+       if (PVRSRVProcessQueues(IMG_FALSE) ==
            PVRSRV_ERROR_PROCESSING_BLOCKED)
-               PVRSRVProcessQueues(ISR_ID, IMG_FALSE);
+               PVRSRVProcessQueues(IMG_FALSE);
 
        if (psSysData->psGlobalEventObject) {
                void *hOSEventKM =
index 2c633cc..b88b22f 100644 (file)
@@ -485,7 +485,7 @@ static enum PVRSRV_ERROR PVRSRVProcessCommand(struct SYS_DATA *psSysData,
        return eError;
 }
 
-enum PVRSRV_ERROR PVRSRVProcessQueues(u32 ui32CallerID, IMG_BOOL bFlush)
+enum PVRSRV_ERROR PVRSRVProcessQueues(IMG_BOOL bFlush)
 {
        struct PVRSRV_QUEUE_INFO *psQueue;
        struct SYS_DATA *psSysData;
index 09f5479..92d9fe9 100644 (file)
@@ -41,7 +41,7 @@ struct COMMAND_COMPLETE_DATA {
        u32 ui32AllocSize;
 };
 
-enum PVRSRV_ERROR PVRSRVProcessQueues(u32 ui32CallerID, IMG_BOOL bFlush);
+enum PVRSRV_ERROR PVRSRVProcessQueues(IMG_BOOL bFlush);
 
 #if defined(__KERNEL__)
 #include <linux/types.h>
index 5fa2e0f..3d22dec 100644 (file)
@@ -703,7 +703,7 @@ void HWRecoveryResetSGX(struct PVRSRV_DEVICE_NODE *psDeviceNode,
 
        SGXScheduleProcessQueuesKM(psDeviceNode);
 
-       PVRSRVProcessQueues(ui32CallerID, IMG_TRUE);
+       PVRSRVProcessQueues(IMG_TRUE);
 }
 
 static unsigned long sgx_reset_forced;