Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5db4f36a authored by Steven Moreland's avatar Steven Moreland
Browse files

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
parent 664f2a62
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -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