mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-19 06:18:24 +02:00
radv/ws: get rid of useless return value
This also used boolean, so nice to kill that. Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
2ce11ac11f
commit
6785034a70
1 changed files with 2 additions and 3 deletions
|
|
@ -175,14 +175,13 @@ static void radv_amdgpu_cs_destroy(struct radeon_winsys_cs *rcs)
|
|||
free(cs);
|
||||
}
|
||||
|
||||
static boolean radv_amdgpu_init_cs(struct radv_amdgpu_cs *cs,
|
||||
enum ring_type ring_type)
|
||||
static void radv_amdgpu_init_cs(struct radv_amdgpu_cs *cs,
|
||||
enum ring_type ring_type)
|
||||
{
|
||||
for (int i = 0; i < ARRAY_SIZE(cs->buffer_hash_table); ++i)
|
||||
cs->buffer_hash_table[i] = -1;
|
||||
|
||||
cs->hw_ip = ring_to_hw_ip(ring_type);
|
||||
return true;
|
||||
}
|
||||
|
||||
static struct radeon_winsys_cs *
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue