summaryrefslogtreecommitdiffstats
path: root/src/libudev/libudev-hwdb.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-11-21 05:09:59 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2018-11-22 15:19:25 +0100
commitf349626bed92d5e54e19bc57df243e457e226ef9 (patch)
tree477782bcd9621ecf5fc0652690155d29f6569581 /src/libudev/libudev-hwdb.c
parentlibudev-list: drop unused private functions (diff)
downloadsystemd-f349626bed92d5e54e19bc57df243e457e226ef9.tar.xz
systemd-f349626bed92d5e54e19bc57df243e457e226ef9.zip
libudev-list: drop unused udev argument from udev_list_init()
Diffstat (limited to 'src/libudev/libudev-hwdb.c')
-rw-r--r--src/libudev/libudev-hwdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libudev/libudev-hwdb.c b/src/libudev/libudev-hwdb.c
index 2dd0a8b484..65b98c04d0 100644
--- a/src/libudev/libudev-hwdb.c
+++ b/src/libudev/libudev-hwdb.c
@@ -56,7 +56,7 @@ _public_ struct udev_hwdb *udev_hwdb_new(struct udev *udev) {
.hwdb = TAKE_PTR(hwdb_internal),
};
- udev_list_init(udev, &hwdb->properties_list, true);
+ udev_list_init(&hwdb->properties_list, true);
return hwdb;
}