X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=udevstart.c;h=a9959c5d6b85cb631106addf567d0af81c242747;hb=caa4fd85aeff9c40897d34fba09b4fb7c18d2198;hp=8ee079dbe53a1600d9fb8a470cede9946e2c3578;hpb=287814b23cd564043391ce449f27e6ccd9d244e4;p=elogind.git diff --git a/udevstart.c b/udevstart.c index 8ee079dbe..a9959c5d6 100644 --- a/udevstart.c +++ b/udevstart.c @@ -40,7 +40,6 @@ #include "libsysfs/sysfs/libsysfs.h" #include "udev_libc_wrapper.h" -#include "udev_sysfs.h" #include "udev.h" #include "udev_version.h" #include "logging.h" @@ -156,8 +155,6 @@ static int add_device(const char *devpath, const char *subsystem) } udev_add_device(&udev, class_dev); - if (udev.devname[0] != '\0') - setenv("DEVNAME", udev.devname, 1); run: if (udev_run && !list_empty(&udev.run_list)) { struct name_entry *name_loop;