From 373139dd06a8e824cf98b8ca166b6f587a8c5368 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Mon, 10 Jun 2024 11:14:18 +0200 Subject: drop compat with ancient Linux kernel linux-2.6.30 was released 15 years ago - doesn't seem to be necessary to still support such ancient kernels. Signed-off-by: Enrico Weigelt, metux IT consult --- src/eventcomm.c | 2 -- 1 file changed, 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; } -- cgit v1.2.3