summaryrefslogtreecommitdiff
path: root/src/udev
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2015-03-09 23:22:43 +0100
committerTom Gundersen <teg@jklm.no>2015-03-09 23:27:12 +0100
commit570b83cc62067f518c119e4803b4f234d1f0f01c (patch)
tree56d674414ad95b09b4bb2970567cd4073d56513c /src/udev
parentdf546eb56a3e8cb7cbea7a1cb630f9ed21ea5c6b (diff)
libudev: udev_device_read_db - drop unused argument
Diffstat (limited to 'src/udev')
-rw-r--r--src/udev/udev-event.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/udev/udev-event.c b/src/udev/udev-event.c
index e5a5175df9..7d0d98ca05 100644
--- a/src/udev/udev-event.c
+++ b/src/udev/udev-event.c
@@ -793,7 +793,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);
@@ -810,7 +810,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 */