mirror of
https://github.com/torvalds/linux.git
synced 2026-06-01 19:13:47 +02: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:
parent
20981e6801
commit
d80d19bd50
|
|
@ -789,8 +789,9 @@ static int create_queue_cpsch(struct device_queue_manager *dqm, struct queue *q,
|
|||
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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user