intel: Remove unused IS_POWER_OF_TWO() macro.
authorEric Anholt <eric@anholt.net>
Tue, 11 Jun 2013 22:59:07 +0000 (15:59 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 18 Jun 2013 19:08:08 +0000 (12:08 -0700)
The is_power_of_two() inline function has been used instead.

Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/intel/intel_context.h

index 552b9cfed169bfbd174b03780070c2e68b0a52d6..eac65ba54239bbf8edd34a1efbc250bd8badbaf5 100644 (file)
@@ -380,8 +380,6 @@ extern char *__progname;
  */
 #define ROUND_DOWN_TO(value, alignment) ((value) & ~(alignment - 1))
 
-#define IS_POWER_OF_TWO(val) (((val) & (val - 1)) == 0)
-
 static INLINE uint32_t
 U_FIXED(float value, uint32_t frac_bits)
 {