From dc14bf455d66a0a31253ac4fa3e024eb1e036968 Mon Sep 17 00:00:00 2001 From: Tvrtko Ursulin Date: Wed, 23 Apr 2014 16:07:55 +0100 Subject: tests: Extract ALIGN macro into a common header Makes for a little bit less code duplication, especially since it will be used from more callers in the future. Signed-off-by: Tvrtko Ursulin Reviewed-by: Brad Volkin Signed-off-by: Thomas Wood --- lib/rendercopy_gen7.c | 1 - 1 file changed, 1 deletion(-) (limited to 'lib/rendercopy_gen7.c') diff --git a/lib/rendercopy_gen7.c b/lib/rendercopy_gen7.c index cdbc70c1..5131d8f8 100644 --- a/lib/rendercopy_gen7.c +++ b/lib/rendercopy_gen7.c @@ -21,7 +21,6 @@ #include "gen7_render.h" #include "intel_reg.h" -#define ALIGN(x, y) (((x) + (y)-1) & ~((y)-1)) static const uint32_t ps_kernel[][4] = { { 0x0080005a, 0x2e2077bd, 0x000000c0, 0x008d0040 }, -- cgit v1.2.3