kdrive: Don't lock input across read in KdNotifyFd

We won't need these locks with the new threaded input code as it holds
the input lock across all of the input device I/O operations.

Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Keith Packard 2016-05-16 21:33:41 -05:00
parent 6a5a4e6037
commit 0bbb5aabf7

View File

@ -139,9 +139,7 @@ static void
KdNotifyFd(int fd, int ready, void *data)
{
int i = (int) (intptr_t) data;
input_lock();
(*kdInputFds[i].read)(fd, kdInputFds[i].closure);
input_unlock();
}
static void