diff --git a/dix/events.c b/dix/events.c index 0b9b76884..6ecd90c08 100644 --- a/dix/events.c +++ b/dix/events.c @@ -305,8 +305,6 @@ XItoCoreType(int xitype) else if (xitype == DeviceKeyRelease) coretype = KeyRelease; - if (coretype == 0) - ErrorF("[dix] Cannot convert type %d to core.\n", xitype); return coretype; }