summaryrefslogtreecommitdiff
path: root/src/libudev
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2012-11-16 22:22:07 -0500
committerAnthony G. Basile <blueness@gentoo.org>2012-11-16 22:22:07 -0500
commitdbc4814264667d2ebf2f7300a4028461fdf532bd (patch)
treec8f4a0219a73bd22f3e6996e7652ef5b3f389f2f /src/libudev
parentd626c1395bb217bd154ec9131038222295ca3eb0 (diff)
src/udev: restore needed deps from src/share
Diffstat (limited to 'src/libudev')
-rw-r--r--src/libudev/libudev.c6
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;
}