From c8c00fc6c3a37f877996eccda15f97b3030e022c Mon Sep 17 00:00:00 2001 From: "Thomas H.P. Andersen" Date: Sat, 18 Dec 2021 21:10:06 +0100 Subject: [PATCH] draw: drop unused function Introduced in 381e9fe6. Never used. Fixes a compile warning with clang Reviewed-by: Emma Anholt Part-of: --- src/gallium/auxiliary/draw/draw_pipe_user_cull.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/gallium/auxiliary/draw/draw_pipe_user_cull.c b/src/gallium/auxiliary/draw/draw_pipe_user_cull.c index fcc177e0..86968a2 100644 --- a/src/gallium/auxiliary/draw/draw_pipe_user_cull.c +++ b/src/gallium/auxiliary/draw/draw_pipe_user_cull.c @@ -38,11 +38,6 @@ struct user_cull_stage { struct draw_stage stage; }; -static inline struct user_cull_stage *user_cull_stage( struct draw_stage *stage ) -{ - return (struct user_cull_stage *)stage; -} - static inline boolean cull_distance_is_out(float dist) { -- 2.7.4