diff options
| -rw-r--r-- | services/input/InputDispatcher.cpp | 11 | ||||
| -rw-r--r-- | services/input/InputDispatcher.h | 4 |
2 files changed, 0 insertions, 15 deletions
diff --git a/services/input/InputDispatcher.cpp b/services/input/InputDispatcher.cpp index d923ec1c2071..436831f38d9f 100644 --- a/services/input/InputDispatcher.cpp +++ b/services/input/InputDispatcher.cpp @@ -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 --- diff --git a/services/input/InputDispatcher.h b/services/input/InputDispatcher.h index ec7e04e2864a..d6eab5af019b 100644 --- a/services/input/InputDispatcher.h +++ b/services/input/InputDispatcher.h @@ -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 { |