summaryrefslogtreecommitdiffstats
path: root/exynos4
diff options
context:
space:
mode:
authorAndrew Dodd <atd7@cornell.edu>2012-12-06 00:16:18 -0500
committerAndrew Dodd <atd7@cornell.edu>2012-12-06 01:41:45 -0500
commit2f662dd093a0ea58e0a8683aad20e56de6277b20 (patch)
tree2f425c894096125437c01f4911f1cf53355a9178 /exynos4
parent3fc2ca9f38b75a67b1543c84cce91964c268adc7 (diff)
downloadandroid_hardware_samsung-2f662dd093a0ea58e0a8683aad20e56de6277b20.tar.gz
android_hardware_samsung-2f662dd093a0ea58e0a8683aad20e56de6277b20.tar.bz2
android_hardware_samsung-2f662dd093a0ea58e0a8683aad20e56de6277b20.zip
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
Diffstat (limited to 'exynos4')
-rw-r--r--exynos4/hal/include/gralloc_priv.h10
1 files changed, 10 insertions, 0 deletions
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)
{