summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Steven Moreland <smoreland@google.com> 2020-08-17 18:27:01 +0000
committer Steven Moreland <smoreland@google.com> 2020-08-17 18:27:01 +0000
commit5db4f36aec1c9158f964fec70f3f381774ca8638 (patch)
tree850d828d79d415e129f299d7bae6faeff4b78b1d
parent664f2a62f26e92897a0f4c9cfff1f82cd666b60a (diff)
libbinder: remove MemoryHeapBase::setDevice
Function shouldn't really exist on a type like this, commented for a workaround, and I can't find any users, so trying to remove it. Bug: N/A Test: N/A Change-Id: I9b78c2bf978946c65911779922defe82b78b69ee
-rw-r--r--libs/binder/include/binder/MemoryHeapBase.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/libs/binder/include/binder/MemoryHeapBase.h b/libs/binder/include/binder/MemoryHeapBase.h
index edada3d1b5..52bd5decd4 100644
--- a/libs/binder/include/binder/MemoryHeapBase.h
+++ b/libs/binder/include/binder/MemoryHeapBase.h
@@ -71,14 +71,6 @@ public:
/* this closes this heap -- use carefully */
void dispose();
- /* this is only needed as a workaround, use only if you know
- * what you are doing */
- status_t setDevice(const char* device) {
- if (mDevice == nullptr)
- mDevice = device;
- return mDevice ? NO_ERROR : ALREADY_EXISTS;
- }
-
protected:
MemoryHeapBase();
// init() takes ownership of fd