summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/etnaviv/etnaviv_util.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/gallium/drivers/etnaviv/etnaviv_util.h b/src/gallium/drivers/etnaviv/etnaviv_util.h
index b4fa5e80ed5..d5b4dc963ca 100644
--- a/src/gallium/drivers/etnaviv/etnaviv_util.h
+++ b/src/gallium/drivers/etnaviv/etnaviv_util.h
@@ -40,12 +40,6 @@ etna_align_up(uint32_t value, uint32_t granularity)
return (value + (granularity - 1)) & (~(granularity - 1));
}
-static inline uint32_t
-etna_bits_ones(unsigned num)
-{
- return (1 << num) - 1;
-}
-
/* clamped float [0.0 .. 1.0] -> [0 .. 255] */
static inline uint8_t
etna_cfloat_to_uint8(float f)