summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2012-01-16 10:54:07 -0500
committerKristian Høgsberg <krh@bitplanet.net>2012-01-16 10:54:07 -0500
commit23a47a80e203ee6eed705eaccad23e8a2f183d6a (patch)
tree58827f0223db0f3699c939add40f2e560ed0e40f
parenta018fb0dbf9d6fffceb63e226939065d2e18b318 (diff)
downloadweston-23a47a80e203ee6eed705eaccad23e8a2f183d6a.tar.gz
evdev: Drop noisy debug messages on vt swtich
-rw-r--r--src/evdev.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/evdev.c b/src/evdev.c
index d614e255..32d73679 100644
--- a/src/evdev.c
+++ b/src/evdev.c
@@ -498,8 +498,7 @@ device_added(struct udev_device *udev_device, struct evdev_input *master)
c = master->base.compositor;
devnode = udev_device_get_devnode(udev_device);
- if (evdev_input_device_create(master, c->wl_display, devnode))
- fprintf(stderr, "evdev input device: added: %s\n", devnode);
+ evdev_input_device_create(master, c->wl_display, devnode);
}
static void
@@ -518,7 +517,6 @@ device_removed(struct udev_device *udev_device, struct evdev_input *master)
break;
}
}
- fprintf(stderr, "evdev input device: removed: %s\n", devnode);
}
void
@@ -644,7 +642,6 @@ evdev_remove_devices(struct weston_input_device *input_base)
struct evdev_input_device *device, *next;
wl_list_for_each_safe(device, next, &input->devices_list, link) {
- fprintf(stderr, "evdev input device: removed: %s\n", device->devnode);
wl_event_source_remove(device->source);
wl_list_remove(&device->link);
close(device->fd);