summaryrefslogtreecommitdiff
path: root/src/eventcomm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/eventcomm.c')
-rw-r--r--src/eventcomm.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/eventcomm.c b/src/eventcomm.c
index b24ed21..6f2a2a0 100644
--- a/src/eventcomm.c
+++ b/src/eventcomm.c
@@ -421,10 +421,8 @@ event_get_abs(struct libevdev *evdev, int code,
/* We don't trust a zero fuzz as it probably is just a lazy value */
if (fuzz && abs->fuzz > 0)
*fuzz = abs->fuzz;
-#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,30)
if (res)
*res = abs->resolution;
-#endif
return 0;
}