diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2009-05-29 18:54:03 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2009-05-29 18:54:03 +0200 |
commit | 82c785e5dcc4bd221da30d48ba427dd609d14f90 (patch) | |
tree | e98254a4a6f1991de1eda5c2171f24e2e0f1339e /udev/udevd.c | |
parent | 97f48a8c67520bf1a58f1516ea3f5953ef399a96 (diff) |
udevd: remove check for dev_t, DEVPATH_OLD takes care of that
Diffstat (limited to 'udev/udevd.c')
-rw-r--r-- | udev/udevd.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/udev/udevd.c b/udev/udevd.c index 5ee61d2e23..37b547ad65 100644 --- a/udev/udevd.c +++ b/udev/udevd.c @@ -301,18 +301,6 @@ static int devpath_busy(struct udev_event *event) event->delaying_seqnum = udev_device_get_seqnum(loop_event->dev); return 4; } - - /* check for our major:minor number */ - if (major(udev_device_get_devnum(event->dev)) > 0 && - udev_device_get_devnum(loop_event->dev) == udev_device_get_devnum(event->dev) && - strcmp(udev_device_get_subsystem(event->dev), udev_device_get_subsystem(loop_event->dev)) == 0) { - dbg(event->udev, "%llu, device event still pending %llu (%d:%d)\n", - udev_device_get_seqnum(event->dev), - udev_device_get_seqnum(loop_event->dev), - major(udev_device_get_devnum(loop_event->dev)), minor(udev_device_get_devnum(loop_event->dev))); - event->delaying_seqnum = udev_device_get_seqnum(loop_event->dev); - return 5; - } } return 0; } |