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

Commit 28b5cf1c authored by Jeff Brown's avatar Jeff Brown
Browse files

Delete dead code.

This is part of a series of changes to improve input system pipelining.

Bug: 5963420

Change-Id: I9f8b93f6a25ddd872f993366b57bab404c93bede
parent 59f1ff99
Loading
Loading
Loading
Loading
+0 −11
Original line number Diff line number Diff line
@@ -3965,17 +3965,6 @@ const char* InputDispatcher::Connection::getStatusLabel() const {
    }
}

InputDispatcher::DispatchEntry* InputDispatcher::Connection::findQueuedDispatchEntryForEvent(
        const EventEntry* eventEntry) const {
    for (DispatchEntry* dispatchEntry = outboundQueue.tail; dispatchEntry;
            dispatchEntry = dispatchEntry->prev) {
        if (dispatchEntry->eventEntry == eventEntry) {
            return dispatchEntry;
        }
    }
    return NULL;
}


// --- InputDispatcher::CommandEntry ---

+0 −4
Original line number Diff line number Diff line
@@ -790,10 +790,6 @@ private:
        inline const char* getInputChannelName() const { return inputChannel->getName().string(); }

        const char* getStatusLabel() const;

        // Finds a DispatchEntry in the outbound queue associated with the specified event.
        // Returns NULL if not found.
        DispatchEntry* findQueuedDispatchEntryForEvent(const EventEntry* eventEntry) const;
    };

    enum DropReason {