From: Andrew Dodd Date: Thu, 6 Dec 2012 05:16:18 +0000 (-0500) Subject: gralloc_priv: Remove unused yaddr member X-Git-Tag: cm-10.1-M1~9 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2f662dd093a0ea58e0a8683aad20e56de6277b20;p=GitHub%2FLineageOS%2Fandroid_hardware_samsung.git 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 --- diff --git a/exynos4/hal/include/gralloc_priv.h b/exynos4/hal/include/gralloc_priv.h index 8ffd161..0c32fc6 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) {