Module: Mesa
Branch: main
Commit: c885e906b35ae0c3bee769eef7a8aaee4d14fc8c
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=c885e906b35ae0c3bee769eef7a8aaee4d14fc8c

Author: Alyssa Rosenzweig <[email protected]>
Date:   Tue Aug  1 10:42:54 2023 -0400

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 <[email protected]>
Reviewed-by: Italo Nicola <[email protected]>
Acked-by: Faith Ekstrand <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24428>

---

 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,

Reply via email to