summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2016-05-16 21:33:41 -0500
committerKeith Packard <keithp@keithp.com>2016-05-26 16:07:54 -0700
commit0bbb5aabf794720fa99ae5ea3f55138ded159705 (patch)
tree72d6f2e79c2b15e818c094d244bea621ab79a333 /hw
parent6a5a4e60373c1386b311b2a8bb666c32d68a9d99 (diff)
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>
Diffstat (limited to 'hw')
-rw-r--r--hw/kdrive/src/kinput.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/kdrive/src/kinput.c b/hw/kdrive/src/kinput.c
index 0cf45bbcd..b415a86fe 100644
--- a/hw/kdrive/src/kinput.c
+++ b/hw/kdrive/src/kinput.c
@@ -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