diff options
Diffstat (limited to 'lib/mesa/src/util/u_vector.h')
-rw-r--r-- | lib/mesa/src/util/u_vector.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/mesa/src/util/u_vector.h b/lib/mesa/src/util/u_vector.h index 5a1a08934..50e706e32 100644 --- a/lib/mesa/src/util/u_vector.h +++ b/lib/mesa/src/util/u_vector.h @@ -38,14 +38,6 @@ extern "C" { #endif -/* TODO - move to u_math.h - name it better etc */ -static inline uint32_t -u_align_u32(uint32_t v, uint32_t a) -{ - assert(a != 0 && a == (a & -((int32_t) a))); - return (v + a - 1) & ~(a - 1); -} - struct u_vector { uint32_t head; uint32_t tail; |