From a36d7fe55bb4135e81622a975b8b82ecd1c26511 Mon Sep 17 00:00:00 2001 From: Tom Gundersen Date: Wed, 18 Mar 2015 19:59:37 -0400 Subject: libudev: udev_device_read_db - drop unused argument Signed-off-by: Anthony G. Basile --- 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 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 */ -- cgit v1.2.3-54-g00ecf