mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-03-27 13:06:32 -04: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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user