diff options
author | Tom Gundersen <teg@jklm.no> | 2015-03-18 19:59:37 -0400 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2015-03-18 19:59:37 -0400 |
commit | a36d7fe55bb4135e81622a975b8b82ecd1c26511 (patch) | |
tree | 171b29dc601dc97a11722e6db9d4a768497f2471 /src/udev | |
parent | 5c3965d1a89539ad6042bbfdcc844fc9ed8aa379 (diff) |
libudev: udev_device_read_db - drop unused argument
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src/udev')
-rw-r--r-- | src/udev/udev-event.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/udev/udev-event.c b/src/udev/udev-event.c index 3caa37ab3f..3875ce2e56 100644 --- a/src/udev/udev-event.c +++ b/src/udev/udev-event.c @@ -811,7 +811,7 @@ void udev_event_execute_rules(struct udev_event *event, return; if (streq(udev_device_get_action(dev), "remove")) { - udev_device_read_db(dev, NULL); + udev_device_read_db(dev); udev_device_delete_db(dev); udev_device_tag_index(dev, NULL, false); @@ -828,7 +828,7 @@ void udev_event_execute_rules(struct udev_event *event, } else { event->dev_db = udev_device_shallow_clone(dev); if (event->dev_db != NULL) { - udev_device_read_db(event->dev_db, NULL); + udev_device_read_db(event->dev_db); udev_device_set_info_loaded(event->dev_db); /* disable watch during event processing */ |