From 7fc0d51f701e933e2a63c631c7de3ebf9dee2559 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Mon, 10 Jun 2024 17:46:03 +0200 Subject: drop quirk for ancient linux kernel version (<2.6.30) This kernel had been released 1.5 decades ago - probably no need to have special quirks for such an ancient kernel version anymore. Signed-off-by: Enrico Weigelt, metux IT consult --- src/evdev.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/evdev.c b/src/evdev.c index 13ffbdf..92fc330 100644 --- a/src/evdev.c +++ b/src/evdev.c @@ -38,7 +38,6 @@ #include #include -#include #include #include #include @@ -1486,10 +1485,8 @@ EvdevAddAbsValuatorClass(DeviceIntPtr device, int num_scroll_axes) continue; abs = libevdev_get_abs_info(pEvdev->dev, axis); -#if LINUX_VERSION_CODE > KERNEL_VERSION(2, 6, 30) /* Kernel provides units/mm, X wants units/m */ resolution = abs->resolution * 1000; -#endif xf86InitValuatorAxisStruct(device, axnum, atoms[axnum], -- cgit v1.2.3