summaryrefslogtreecommitdiffstats
path: root/gralloc_drm_nouveau.c
diff options
context:
space:
mode:
authorTapani Pälli <tapani.palli@intel.com>2013-04-22 08:20:39 +0300
committerTapani Pälli <tapani.palli@intel.com>2013-05-03 09:38:41 +0300
commitdf57ea903b701669b315a48311c1535f64f5d37a (patch)
tree418a913a9393066ae0b68fa3fff5513c8728a5ec /gralloc_drm_nouveau.c
parent0bf69ed26eaffe5bbf58b9548063144c96e8ac64 (diff)
downloadexternal_drm_gralloc-df57ea903b701669b315a48311c1535f64f5d37a.zip
external_drm_gralloc-df57ea903b701669b315a48311c1535f64f5d37a.tar.gz
external_drm_gralloc-df57ea903b701669b315a48311c1535f64f5d37a.tar.bz2
gralloc: cleanup, use ALIGN macro
Change-Id: I029aafe5a99393a4c0f7ff87f422317621fada12 Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Diffstat (limited to 'gralloc_drm_nouveau.c')
-rw-r--r--gralloc_drm_nouveau.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gralloc_drm_nouveau.c b/gralloc_drm_nouveau.c
index 4536e7e..576966e 100644
--- a/gralloc_drm_nouveau.c
+++ b/gralloc_drm_nouveau.c
@@ -40,7 +40,6 @@
#include "gralloc_drm_priv.h"
#define MAX(a, b) (((a) > (b)) ? (a) : (b))
-#define ALIGN(val, align) (((val) + (align) - 1) & ~((align) - 1))
#define NVC0_TILE_HEIGHT(m) (8 << ((m) >> 4))