From 1ed4f8916476b448d9f5cea5d03cea676ef06d40 Mon Sep 17 00:00:00 2001 From: David Herrmann Date: Sat, 31 Dec 2011 12:39:42 +0100 Subject: [PATCH] input: silently ignore devices without device-node We either need to adjust our filters to only receive inputX/eventY events or we simply ignore all other events silently to avoid useless warnings. Signed-off-by: David Herrmann --- src/input.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/input.c b/src/input.c index f035f84..31c0938 100644 --- a/src/input.c +++ b/src/input.c @@ -309,10 +309,8 @@ static void add_device(struct kmscon_input *input, */ node = udev_device_get_devnode(udev_device); - if (!node) { - log_warning("input: cannot get udev node for input device\n"); + if (!node) return; - } value = udev_device_get_property_value(udev_device, "ID_INPUT_KEYBOARD");