vkd3d-shader: Do not check for NULL in vkd3d_shader_free_shader_code().

Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zebediah Figura 2020-08-24 11:16:45 -05:00 committed by Alexandre Julliard
parent 6c10b52804
commit f895f0dce6

View File

@ -917,9 +917,6 @@ void vkd3d_shader_free_scan_descriptor_info(struct vkd3d_shader_scan_descriptor_
void vkd3d_shader_free_shader_code(struct vkd3d_shader_code *shader_code)
{
if (!shader_code)
return;
vkd3d_free((void *)shader_code->code);
}