From: Alyssa Rosenzweig Date: Tue, 1 Aug 2023 14:42:54 +0000 (-0400) Subject: gallium/u_transfer_helper: Remove dead forward decl X-Git-Tag: upstream/23.3.3~4838 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c885e906b35ae0c3bee769eef7a8aaee4d14fc8c;p=platform%2Fupstream%2Fmesa.git gallium/u_transfer_helper: Remove dead forward decl 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: --- diff --git a/src/gallium/auxiliary/util/u_transfer_helper.c b/src/gallium/auxiliary/util/u_transfer_helper.c index 1dc4201..ec38b8d 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,