diff options
Diffstat (limited to 'src/evdev.c')
-rw-r--r-- | src/evdev.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/evdev.c b/src/evdev.c index f54b66f..b832d98 100644 --- a/src/evdev.c +++ b/src/evdev.c @@ -1113,12 +1113,8 @@ EvdevReadInput(InputInfoPtr pInfo) if (len <= 0) { if (errno == ENODEV) /* May happen after resume */ - { - EvdevMBEmuFinalize(pInfo); - Evdev3BEmuFinalize(pInfo); xf86RemoveEnabledDevice(pInfo); - EvdevCloseDevice(pInfo); - } else if (errno != EAGAIN) + else if (errno != EAGAIN) { /* We use X_NONE here because it doesn't alloc */ xf86MsgVerb(X_NONE, 0, "%s: Read error: %s\n", pInfo->name, |