2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-25 15:15:33 +08:00

amdkfd: fence_wait_timeout() can be static

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
This commit is contained in:
Oded Gabbay 2014-11-20 15:54:05 +02:00
parent 20981e6801
commit d80d19bd50

View File

@ -789,8 +789,9 @@ out:
return retval;
}
int fence_wait_timeout(unsigned int *fence_addr, unsigned int fence_value,
unsigned long timeout)
static int fence_wait_timeout(unsigned int *fence_addr,
unsigned int fence_value,
unsigned long timeout)
{
BUG_ON(!fence_addr);
timeout += jiffies;