aboutsummaryrefslogtreecommitdiff
path: root/src/evdev.h
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2012-05-28 09:50:57 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2012-06-08 09:12:14 +1000
commit047955f51e013c190bb09ba0c03ca2c160f34997 (patch)
tree4ce954579dbbf680c387d7c28ef10b7aeb46eca8 /src/evdev.h
parentClose the fd when mtdev open fails (diff)
downloadxf86-input-evdev-047955f51e013c190bb09ba0c03ca2c160f34997.tar.gz
xf86-input-evdev-047955f51e013c190bb09ba0c03ca2c160f34997.tar.bz2
xf86-input-evdev-047955f51e013c190bb09ba0c03ca2c160f34997.zip
Move duplicate check up before mtdev allocation
No need to alloc mtdev if we then find out the fd is a duplicate one anyway. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
Diffstat (limited to 'src/evdev.h')
0 files changed, 0 insertions, 0 deletions