diff --git a/src/gallium/drivers/panfrost/pan_shader.c b/src/gallium/drivers/panfrost/pan_shader.c index 3117747cb99..8b3a52dcec8 100644 --- a/src/gallium/drivers/panfrost/pan_shader.c +++ b/src/gallium/drivers/panfrost/pan_shader.c @@ -319,9 +319,6 @@ panfrost_update_shader_variant(struct panfrost_context *ctx, ctx->prog[type] = compiled; - /* TODO: it would be more efficient to release the lock before - * compiling instead of after, but that can race if thread A compiles a - * variant while thread B searches for that same variant */ simple_mtx_unlock(&uncompiled->lock); }