- if (udev->type == DEV_BLOCK || udev->type == DEV_CLASS) {
- udev->devt = get_devt(class_dev);
- if (!udev->devt) {
- dbg("no dev-file found, do nothing");
- return 0;
- }
- }
-
- udev_rules_get_name(udev, class_dev);
- if (udev->ignore_device) {
- dbg("device event will be ignored");
- return 0;
- }
-