diff options
author | Dave Airlie <[email protected]> | 2018-01-18 01:37:59 +0000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2018-01-18 01:57:53 +0000 |
commit | 6785034a707ca6f93295e18616e5bc360adfb700 (patch) | |
tree | a3449cf2b48d33f07e6bdf392bcb07f6bc773bc9 /src/amd/vulkan | |
parent | 2ce11ac11fee594ca01608c4006b38c0c8ea37ff (diff) |
radv/ws: get rid of useless return value
This also used boolean, so nice to kill that.
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/amd/vulkan')
-rw-r--r-- | src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c b/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c index 0ee56f91447..5632b1d4ee2 100644 --- a/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c +++ b/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c @@ -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 * |