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

Commit 7419dc7c authored by Steven Moreland's avatar Steven Moreland
Browse files

libbinder: remove unused IPCThreadState::process

This function isn't used, and ProcessState is a global object.

Future consideration:
- would it be worth the saved memory in thread local storage to drop
  IPCThreadState::mProcess and reference the global?

Bug: N/A
Test: N/A
Change-Id: I984f57827d3ade423b24132dd5b5f18028dc2a1d
parent 6e7f072d
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -352,11 +352,6 @@ bool IPCThreadState::backgroundSchedulingDisabled()
    return gDisableBackgroundScheduling.load(std::memory_order_relaxed);
}

sp<ProcessState> IPCThreadState::process()
{
    return mProcess;
}

status_t IPCThreadState::clearLastError()
{
    const status_t err = mLastError;
+0 −2
Original line number Diff line number Diff line
@@ -54,8 +54,6 @@ public:
    static  status_t            getProcessFreezeInfo(pid_t pid, uint32_t *sync_received,
                                                    uint32_t *async_received);

            sp<ProcessState>    process();

            status_t            clearLastError();

            /**