From abd7ea2a88b487e6bc946f98e59f40523e66c19c Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Thu, 12 Jan 2023 06:43:46 +1000 Subject: [PATCH] lavapipe: drop unused macro Reviewed-by: Mike Blumenkrantz Part-of: --- src/gallium/frontends/lavapipe/lvp_pipeline.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/gallium/frontends/lavapipe/lvp_pipeline.c b/src/gallium/frontends/lavapipe/lvp_pipeline.c index e357096447d..51293be245e 100644 --- a/src/gallium/frontends/lavapipe/lvp_pipeline.c +++ b/src/gallium/frontends/lavapipe/lvp_pipeline.c @@ -39,13 +39,6 @@ #define MAX_DYNAMIC_STATES 72 -#define LVP_PIPELINE_DUP(dst, src, type, count) do { \ - type *temp = ralloc_array(mem_ctx, type, count); \ - if (!temp) return VK_ERROR_OUT_OF_HOST_MEMORY; \ - memcpy(temp, (src), sizeof(type) * count); \ - dst = temp; \ - } while(0) - void lvp_pipeline_destroy(struct lvp_device *device, struct lvp_pipeline *pipeline) {