diff options
author | Christian Gmeiner <[email protected]> | 2019-12-10 09:54:18 +0100 |
---|---|---|
committer | Christian Gmeiner <[email protected]> | 2019-12-13 08:11:03 +0000 |
commit | 5f7c5f5dd202d27a0a1075e5e11858c960afce9c (patch) | |
tree | ba42a61dd7fcddc7884357d42604b7ff3ba50b96 | |
parent | 8d20b5cba5760177dbd8500cd8b614e66d5ac9ae (diff) |
etnaviv: remove not used etna_bits_ones(..)
Signed-off-by: Christian Gmeiner <[email protected]>
-rw-r--r-- | src/gallium/drivers/etnaviv/etnaviv_util.h | 6 |
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) |