From 570b83cc62067f518c119e4803b4f234d1f0f01c Mon Sep 17 00:00:00 2001 From: Tom Gundersen Date: Mon, 9 Mar 2015 23:22:43 +0100 Subject: libudev: udev_device_read_db - drop unused argument --- src/udev/udev-event.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/udev') 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 */ -- cgit v1.2.3-54-g00ecf