summaryrefslogtreecommitdiff
path: root/src/libudev/libudev-hwdb.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-11-21 13:09:59 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2018-11-22 23:19:25 +0900
commitf349626bed92d5e54e19bc57df243e457e226ef9 (patch)
tree477782bcd9621ecf5fc0652690155d29f6569581 /src/libudev/libudev-hwdb.c
parent876affad437c1b3ce3770a9e1ac0e615ee020ebf (diff)
downloadsystemd-f349626bed92d5e54e19bc57df243e457e226ef9.tar.gz
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;
}