mirror of
https://github.com/torvalds/linux.git
synced 2024-12-25 12:21:37 +00:00
amdkfd: is_occupied() 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
585dbf3842
commit
20981e6801
@ -179,9 +179,9 @@ static int destroy_mqd(struct mqd_manager *mm, void *mqd,
|
|||||||
pipe_id, queue_id);
|
pipe_id, queue_id);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool is_occupied(struct mqd_manager *mm, void *mqd,
|
static bool is_occupied(struct mqd_manager *mm, void *mqd,
|
||||||
uint64_t queue_address, uint32_t pipe_id,
|
uint64_t queue_address, uint32_t pipe_id,
|
||||||
uint32_t queue_id)
|
uint32_t queue_id)
|
||||||
{
|
{
|
||||||
|
|
||||||
return kfd2kgd->hqd_is_occupies(mm->dev->kgd, queue_address,
|
return kfd2kgd->hqd_is_occupies(mm->dev->kgd, queue_address,
|
||||||
|
Loading…
Reference in New Issue
Block a user