From: Samuel Pitoiset Date: Tue, 11 Apr 2017 12:32:19 +0000 (+0200) Subject: softpipe: remove unused quad_shade_stage() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5fbe99ce9fe9922ed7b7c9bfda1825e2ae900a1e;p=mesa.git softpipe: remove unused quad_shade_stage() Fixes the following Clang warning. sp_quad_fs.c:60:1: warning: unused function 'quad_shade_stage' [-Wunused-function] quad_shade_stage(struct quad_stage *qs) ^ 1 warning generated. Signed-off-by: Samuel Pitoiset Reviewed-by: Brian Paul --- diff --git a/src/gallium/drivers/softpipe/sp_quad_fs.c b/src/gallium/drivers/softpipe/sp_quad_fs.c index 8fb632d9dcf..26e7434edcb 100644 --- a/src/gallium/drivers/softpipe/sp_quad_fs.c +++ b/src/gallium/drivers/softpipe/sp_quad_fs.c @@ -55,14 +55,6 @@ struct quad_shade_stage }; -/** cast wrapper */ -static inline struct quad_shade_stage * -quad_shade_stage(struct quad_stage *qs) -{ - return (struct quad_shade_stage *) qs; -} - - /** * Execute fragment shader for the four fragments in the quad. * \return TRUE if quad is alive, FALSE if all four pixels are killed