gallium/u_transfer_helper: Remove dead forward decl
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Tue, 1 Aug 2023 14:42:54 +0000 (10:42 -0400)
committerMarge Bot <emma+marge@anholt.net>
Tue, 1 Aug 2023 23:18:28 +0000 (23:18 +0000)
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 <alyssa@rosenzweig.io>
Reviewed-by: Italo Nicola <italonicola@collabora.com>
Acked-by: Faith Ekstrand <faith.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24428>

src/gallium/auxiliary/util/u_transfer_helper.c

index 1dc4201..ec38b8d 100644 (file)
@@ -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,