diff options
Diffstat (limited to 'src/libudev')
-rw-r--r-- | src/libudev/libudev.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/libudev/libudev.c b/src/libudev/libudev.c index d860ebc080..3341ee8ada 100644 --- a/src/libudev/libudev.c +++ b/src/libudev/libudev.c @@ -117,7 +117,6 @@ _public_ void udev_set_userdata(struct udev *udev, void *userdata) _public_ struct udev *udev_new(void) { struct udev *udev; - const char *env; FILE *f; udev = calloc(1, sizeof(struct udev)); @@ -199,11 +198,6 @@ _public_ struct udev *udev_new(void) fclose(f); } - /* environment overrides config */ - env = secure_getenv("UDEV_LOG"); - if (env != NULL) - udev_set_log_priority(udev, util_log_priority(env)); - return udev; } |