From 486381c489b57c1424c99bdb391cbbffd1e5f450 Mon Sep 17 00:00:00 2001 From: "Thomas H.P. Andersen" Date: Sat, 8 Jan 2022 18:36:20 +0100 Subject: [PATCH] llvmpipe: drop unused function Fixes a clang warning about unused static inlined functions. Reviewed-by: Eric Engestrom Reviewed-by: Yonggang Luo Part-of: --- src/gallium/drivers/llvmpipe/lp_setup_rect.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/gallium/drivers/llvmpipe/lp_setup_rect.c b/src/gallium/drivers/llvmpipe/lp_setup_rect.c index 2e11597ec18..20fbb65a7e5 100644 --- a/src/gallium/drivers/llvmpipe/lp_setup_rect.c +++ b/src/gallium/drivers/llvmpipe/lp_setup_rect.c @@ -50,13 +50,6 @@ subpixel_snap(float a) } -static inline float -fixed_to_float(int a) -{ - return a * (1.0f / FIXED_ONE); -} - - /** * Alloc space for a new rectangle plus the input.a0/dadx/dady arrays * immediately after it.