summaryrefslogtreecommitdiff
path: root/udev/udevd.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2009-05-04 22:08:05 +0200
committerKay Sievers <kay.sievers@vrfy.org>2009-05-04 22:08:05 +0200
commite3196993f1f7fdd9fb7fbf4eeb397080554ae920 (patch)
tree7bfd7594fa46b1018db7e634a11ea0610963e817 /udev/udevd.c
parentefca104ccfa8894b84ad4ec56388780ff317ced7 (diff)
remove all PHYSDEVPATH handling and warning about
Diffstat (limited to 'udev/udevd.c')
-rw-r--r--udev/udevd.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/udev/udevd.c b/udev/udevd.c
index 1aa50eb74c..ec6ee009cd 100644
--- a/udev/udevd.c
+++ b/udev/udevd.c
@@ -339,7 +339,7 @@ static int compare_devpath(const char *running, const char *waiting)
return 0;
}
-/* lookup event for identical, parent, child, or physical device */
+/* lookup event for identical, parent, child device */
static int devpath_busy(struct udev_event *event)
{
struct udev_list_node *loop;
@@ -390,19 +390,6 @@ static int devpath_busy(struct udev_event *event)
event->delaying_seqnum = udev_device_get_seqnum(loop_event->dev);
return 5;
}
-
- /* check physical device event (special case of parent) */
- if (udev_device_get_physdevpath(event->dev) != NULL &&
- strcmp(udev_device_get_action(event->dev), "add") == 0)
- if (compare_devpath(udev_device_get_devpath(loop_event->dev),
- udev_device_get_physdevpath(event->dev)) != 0) {
- dbg(event->udev, "%llu, physical device event still pending %llu (%s)\n",
- udev_device_get_seqnum(event->dev),
- udev_device_get_seqnum(loop_event->dev),
- udev_device_get_devpath(loop_event->dev));
- event->delaying_seqnum = udev_device_get_seqnum(loop_event->dev);
- return 6;
- }
}
return 0;
}