X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=udev_add.c;h=174474bdc703a1bf0e6adb966979afd5b0635653;hb=d2e7c6bf67b1b0d1f5d12ac533131c73bc046454;hp=1a224a17923641ac07f9f8925a29d8f1a6586d58;hpb=c86be870ce6bb6361ca2ca6c3c05b6d89cf70a2c;p=elogind.git diff --git a/udev_add.c b/udev_add.c index 1a224a179..174474bdc 100644 --- a/udev_add.c +++ b/udev_add.c @@ -40,7 +40,6 @@ #include "udev_version.h" #include "logging.h" #include "udev_rules.h" -#include "udev_db.h" #include "udev_selinux.h" @@ -273,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);