libgralloc: remove pid checks
These pid checks seem to have been left over from PMEM days.
Change-Id: I1e504bc889b90d8fed6e0be47fd21d1e3f42c50b
diff --git a/libgralloc/gralloc_priv.h b/libgralloc/gralloc_priv.h
index b9e2f92..59fbd30 100644
--- a/libgralloc/gralloc_priv.h
+++ b/libgralloc/gralloc_priv.h
@@ -176,7 +176,7 @@
// The gpu address mapped into the mmu.
// If using ashmem, set to 0, they don't care
int gpuaddr;
- int pid;
+ int pid; // deprecated
int format;
int width;
int height;
@@ -193,7 +193,7 @@
fd(fd), genlockHandle(-1), magic(sMagic),
flags(flags), size(size), offset(0),
bufferType(bufferType), base(0), gpuaddr(0),
- pid(getpid()), format(format),
+ pid(0), format(format),
width(width), height(height), genlockPrivFd(-1)
{
version = sizeof(native_handle);