From 248fddecd8e813b9cb0c98327ab4cd3c836f7398 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Tue, 11 Jun 2013 15:59:07 -0700 Subject: [PATCH] intel: Remove unused IS_POWER_OF_TWO() macro. The is_power_of_two() inline function has been used instead. Reviewed-by: Matt Turner --- src/mesa/drivers/dri/intel/intel_context.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/mesa/drivers/dri/intel/intel_context.h b/src/mesa/drivers/dri/intel/intel_context.h index 552b9cfed16..eac65ba5423 100644 --- a/src/mesa/drivers/dri/intel/intel_context.h +++ b/src/mesa/drivers/dri/intel/intel_context.h @@ -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) { -- 2.30.2