From 2f662dd093a0ea58e0a8683aad20e56de6277b20 Mon Sep 17 00:00:00 2001 From: Andrew Dodd Date: Thu, 6 Dec 2012 00:16:18 -0500 Subject: [PATCH] gralloc_priv: Remove unused yaddr member Mobile's blobs don't appear to have been compiled with this present in their headers, and none of the Insignal sources actually use this. Change-Id: Ib8611f6da90ea78aa8eec451c76f56ddb32b45a4 --- exynos4/hal/include/gralloc_priv.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/exynos4/hal/include/gralloc_priv.h b/exynos4/hal/include/gralloc_priv.h index 8ffd1614..0c32fc6c 100644 --- a/exynos4/hal/include/gralloc_priv.h +++ b/exynos4/hal/include/gralloc_priv.h @@ -135,7 +135,13 @@ struct private_handle_t { int ion_client; /* Following members ard for YUV information */ +#ifdef USELESS_SEC_YADDR + /* Samsung Mobile's blobs don't appear to be using yaddr + * in their header file, and none of the source uses it + * anywhere + */ unsigned int yaddr; +#endif unsigned int uoffset; unsigned int voffset; @@ -164,7 +170,9 @@ struct private_handle_t { bpp(0), stride(0), ion_client(0), +#ifdef USELESS_SEC_YADDR yaddr(0), +#endif uoffset(0), voffset(0) { @@ -193,7 +201,9 @@ struct private_handle_t { bpp(0), stride(0), ion_client(0), +#ifdef USELESS_SEC_YADDR yaddr(0), +#endif uoffset(0), voffset(0) {