Commit d80d19bd authored by Oded Gabbay's avatar Oded Gabbay

amdkfd: fence_wait_timeout() can be static

Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarOded Gabbay <oded.gabbay@amd.com>
parent 20981e68
...@@ -789,8 +789,9 @@ static int create_queue_cpsch(struct device_queue_manager *dqm, struct queue *q, ...@@ -789,8 +789,9 @@ static int create_queue_cpsch(struct device_queue_manager *dqm, struct queue *q,
return retval; return retval;
} }
int fence_wait_timeout(unsigned int *fence_addr, unsigned int fence_value, static int fence_wait_timeout(unsigned int *fence_addr,
unsigned long timeout) unsigned int fence_value,
unsigned long timeout)
{ {
BUG_ON(!fence_addr); BUG_ON(!fence_addr);
timeout += jiffies; timeout += jiffies;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment