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:
parent
6a5a4e6037
commit
0bbb5aabf7
|
@ -139,9 +139,7 @@ static void
|
||||||
KdNotifyFd(int fd, int ready, void *data)
|
KdNotifyFd(int fd, int ready, void *data)
|
||||||
{
|
{
|
||||||
int i = (int) (intptr_t) data;
|
int i = (int) (intptr_t) data;
|
||||||
input_lock();
|
|
||||||
(*kdInputFds[i].read)(fd, kdInputFds[i].closure);
|
(*kdInputFds[i].read)(fd, kdInputFds[i].closure);
|
||||||
input_unlock();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in New Issue