diff options
author | Enrico Weigelt, metux IT consult <info@metux.net> | 2024-06-10 11:14:18 +0200 |
---|---|---|
committer | Enrico Weigelt, metux IT consult <info@metux.net> | 2024-06-10 11:14:19 +0200 |
commit | 373139dd06a8e824cf98b8ca166b6f587a8c5368 (patch) | |
tree | c3868dfde449c3615ccdb2039074f374ef9c4be5 /src/eventcomm.c | |
parent | 64407e809dd7a75516acd3178aa77db7dc04e19d (diff) |
drop compat with ancient Linux kernelmaster
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 <info@metux.net>
Diffstat (limited to 'src/eventcomm.c')
-rw-r--r-- | src/eventcomm.c | 2 |
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; } |