summaryrefslogtreecommitdiff
path: root/src/evdev.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/evdev.c')
-rw-r--r--src/evdev.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/evdev.c b/src/evdev.c
index bd01316..2f093c4 100644
--- a/src/evdev.c
+++ b/src/evdev.c
@@ -1029,10 +1029,6 @@ EvdevPreInit(InputDriverPtr drv, IDevPtr dev, int flags)
pInfo->always_core_feedback = 0;
pInfo->conf_idev = dev;
- if (!(pEvdev = xcalloc(sizeof(*pEvdev), 1)))
- return pInfo;
- pInfo->private = pEvdev;
-
if (!(pEvdev = xcalloc(sizeof(EvdevRec), 1)))
return pInfo;