From c885e906b35ae0c3bee769eef7a8aaee4d14fc8c Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Tue, 1 Aug 2023 10:42:54 -0400 Subject: [PATCH] gallium/u_transfer_helper: Remove dead forward decl MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Doesn't point to anything. ../src/gallium/auxiliary/util/u_transfer_helper.c:255:1: warning: ‘u_transfer_helper_deinterleave_transfer_map’ declared ‘static’ but never defined [-Wunused-function] 255 | u_transfer_helper_deinterleave_transfer_map(struct pipe_context *pctx, Signed-off-by: Alyssa Rosenzweig Reviewed-by: Italo Nicola Acked-by: Faith Ekstrand Part-of: --- src/gallium/auxiliary/util/u_transfer_helper.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/gallium/auxiliary/util/u_transfer_helper.c b/src/gallium/auxiliary/util/u_transfer_helper.c index 1dc42018ef0..ec38b8d6706 100644 --- a/src/gallium/auxiliary/util/u_transfer_helper.c +++ b/src/gallium/auxiliary/util/u_transfer_helper.c @@ -251,13 +251,6 @@ transfer_map_msaa(struct pipe_context *pctx, return ss_map; } -static void * -u_transfer_helper_deinterleave_transfer_map(struct pipe_context *pctx, - struct pipe_resource *prsc, - unsigned level, unsigned usage, - const struct pipe_box *box, - struct pipe_transfer **pptrans); - void * u_transfer_helper_transfer_map(struct pipe_context *pctx, struct pipe_resource *prsc,