From: Jeremy Kerr Date: Wed, 8 May 2013 12:21:59 +0000 (+0800) Subject: discover/udev: Don't print properties of skipped devices X-Git-Tag: v1.0.0~653 X-Git-Url: https://git.ozlabs.org/?p=petitboot;a=commitdiff_plain;h=25a7c442028ed3d2d75a554cfa5da7b1ac4724bb discover/udev: Don't print properties of skipped devices This cleans up the log output a little. Signed-off-by: Jeremy Kerr --- diff --git a/discover/udev.c b/discover/udev.c index c81183f..cd2a61e 100644 --- a/discover/udev.c +++ b/discover/udev.c @@ -102,8 +102,6 @@ static int udev_handle_dev_action(struct udev_device *dev, const char *action) return -1; } - print_device_properties(dev); - /* Ignore non disk or partition, ram, loop. */ if (!(strstr(devtype, "disk") || strstr(devtype, "partition")) @@ -124,6 +122,8 @@ static int udev_handle_dev_action(struct udev_device *dev, const char *action) return 0; } + print_device_properties(dev); + event = talloc(NULL, struct event); event->type = EVENT_TYPE_UDEV;