diff --git a/src/gallium/auxiliary/draw/draw_pipe_user_cull.c b/src/gallium/auxiliary/draw/draw_pipe_user_cull.c index fcc177e0449..86968a25741 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) {