summaryrefslogtreecommitdiffstats
path: root/src/util/imports.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/imports.h')
-rw-r--r--src/util/imports.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/util/imports.h b/src/util/imports.h
index 4ebae04ffc7..03a6c0ef358 100644
--- a/src/util/imports.h
+++ b/src/util/imports.h
@@ -190,16 +190,6 @@ static inline int IFLOOR(float f)
#endif
}
-
-/**
- * Is x a power of two?
- */
-static inline int
-_mesa_is_pow_two(int x)
-{
- return !(x & (x - 1));
-}
-
/**
* Round given integer to next higer power of two
* If X is zero result is undefined.