From 5fbe99ce9fe9922ed7b7c9bfda1825e2ae900a1e Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Tue, 11 Apr 2017 14:32:19 +0200 Subject: 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 --- src/gallium/drivers/softpipe/sp_quad_fs.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/gallium') 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 -- cgit v1.2.3