llvmpipe: drop unused function
authorThomas H.P. Andersen <phomes@gmail.com>
Sat, 8 Jan 2022 17:36:20 +0000 (18:36 +0100)
committerMarge Bot <emma+marge@anholt.net>
Sun, 25 Sep 2022 03:53:15 +0000 (03:53 +0000)
Fixes a clang warning about unused static inlined functions.

Reviewed-by: Eric Engestrom <eric@igalia.com>
Reviewed-by: Yonggang Luo <luoyonggang@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18800>

src/gallium/drivers/llvmpipe/lp_setup_rect.c

index 2e11597..20fbb65 100644 (file)
@@ -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.