mirror of
https://github.com/X11Libre/xf86-input-synaptics.git
synced 2026-03-24 01:34:04 +00:00
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 <info@metux.net>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user