From: Timothy Arceri Date: Wed, 11 Oct 2017 04:10:37 +0000 (+1100) Subject: radv: remove duplicate line of code X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0061a905502a0b7e977ab1996f817f7b9f9c34fc;p=mesa.git radv: remove duplicate line of code The same line of code is a few lines above. Reviewed-by: Bas Nieuwenhuizen Reviewed-by: Samuel Pitoiset --- diff --git a/src/amd/vulkan/radv_pipeline_cache.c b/src/amd/vulkan/radv_pipeline_cache.c index 94437e2b30c..51fa3f1b31f 100644 --- a/src/amd/vulkan/radv_pipeline_cache.c +++ b/src/amd/vulkan/radv_pipeline_cache.c @@ -189,7 +189,6 @@ radv_create_shader_variant_from_pipeline_cache(struct radv_device *device, variant->info = entry->variant_info; variant->rsrc1 = entry->rsrc1; variant->rsrc2 = entry->rsrc2; - variant->code_size = entry->code_size; variant->ref_count = 1; void *ptr = radv_alloc_shader_memory(device, variant);