Merge "Do not emit message for getTransport warnings." into oc-dev
diff --git a/ServiceManager.cpp b/ServiceManager.cpp
index f88e63d..7930d18 100644
--- a/ServiceManager.cpp
+++ b/ServiceManager.cpp
@@ -382,9 +382,9 @@
 
 
 Return<void> ServiceManager::registerPassthroughClient(const hidl_string &fqName,
-        const hidl_string &name, int32_t pid) {
-    pid_t callingPid = IPCThreadState::self()->getCallingPid();
-    if (!mAcl.canGet(fqName, callingPid)) {
+        const hidl_string &name) {
+    pid_t pid = IPCThreadState::self()->getCallingPid();
+    if (!mAcl.canGet(fqName, pid)) {
         /* We guard this function with "get", because it's typically used in
          * the getService() path, albeit for a passthrough service in this
          * case
diff --git a/ServiceManager.h b/ServiceManager.h
index 86fffcf..c616d80 100644
--- a/ServiceManager.h
+++ b/ServiceManager.h
@@ -46,7 +46,7 @@
 
     Return<void> debugDump(debugDump_cb _cb) override;
     Return<void> registerPassthroughClient(const hidl_string &fqName,
-            const hidl_string &name, int32_t pid) override;
+            const hidl_string &name) override;
 
     virtual void serviceDied(uint64_t cookie, const wp<IBase>& who);
 private: