X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=udev_add.c;h=174474bdc703a1bf0e6adb966979afd5b0635653;hp=f4ad55a8932a8f54f0d23785d49c961b03546216;hb=c602535043cbe74dfdcc5f2926e8518237602694;hpb=df4e89bfa61b6aaea41619842aa9032dd1af072e diff --git a/udev_add.c b/udev_add.c index f4ad55a89..174474bdc 100644 --- a/udev_add.c +++ b/udev_add.c @@ -37,11 +37,9 @@ #include "udev_libc_wrapper.h" #include "udev.h" #include "udev_utils.h" -#include "udev_sysfs.h" #include "udev_version.h" #include "logging.h" #include "udev_rules.h" -#include "udev_db.h" #include "udev_selinux.h" @@ -274,8 +272,7 @@ int udev_add_device(struct udevice *udev, struct sysfs_class_device *class_dev) goto exit; if (udev_db_add_device(udev) != 0) - dbg("udev_db_add_dev failed, but we create the node anyway, " - "remove might not work for custom names"); + dbg("udev_db_add_dev failed, remove might not work for custom names"); /* use full path to the environment */ snprintf(udev->devname, sizeof(udev->devname), "%s/%s", udev_root, udev->name);