From 28b5cf1c33df847d667b8974ba07c4157a49b48a Mon Sep 17 00:00:00 2001 From: Jeff Brown Date: Mon, 6 Feb 2012 16:26:21 -0800 Subject: Delete dead code. This is part of a series of changes to improve input system pipelining. Bug: 5963420 Change-Id: I9f8b93f6a25ddd872f993366b57bab404c93bede --- services/input/InputDispatcher.cpp | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'services/input/InputDispatcher.cpp') 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 --- -- cgit v1.2.3-59-g8ed1b