From 4610d69e37fd9472b88fcc7f1bad6530242aa105 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Tue, 11 Feb 2020 08:02:12 -0600 Subject: [PATCH] anv: Delete some pointless break statements They immediately follow returns. Reviewed-by: Lionel Landwerlin Part-of: --- src/intel/vulkan/genX_cmd_buffer.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/intel/vulkan/genX_cmd_buffer.c b/src/intel/vulkan/genX_cmd_buffer.c index 298718e5c2a..5ee82b1df6e 100644 --- a/src/intel/vulkan/genX_cmd_buffer.c +++ b/src/intel/vulkan/genX_cmd_buffer.c @@ -2901,7 +2901,6 @@ get_push_range_address(struct anv_cmd_buffer *cmd_buffer, struct anv_descriptor_set *set = gfx_state->base.descriptors[range->index]; return anv_descriptor_set_address(cmd_buffer, set); - break; } case ANV_DESCRIPTOR_SET_PUSH_CONSTANTS: { @@ -2911,7 +2910,6 @@ get_push_range_address(struct anv_cmd_buffer *cmd_buffer, .bo = cmd_buffer->device->dynamic_state_pool.block_pool.bo, .offset = state.offset, }; - break; } default: { -- 2.30.2