summaryrefslogtreecommitdiff
path: root/udev/udevadm-info.c
diff options
context:
space:
mode:
Diffstat (limited to 'udev/udevadm-info.c')
-rw-r--r--udev/udevadm-info.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/udev/udevadm-info.c b/udev/udevadm-info.c
index 1f47b89952..fdf53d2ab5 100644
--- a/udev/udevadm-info.c
+++ b/udev/udevadm-info.c
@@ -279,10 +279,6 @@ int udevadm_info(int argc, char *argv[])
struct name_entry *name_loop;
int rc = 0;
- logging_init("udevinfo");
- udev_config_init();
- sysfs_init();
-
while (1) {
option = getopt_long(argc, argv, "aed:n:p:q:rxPVh", options, NULL);
if (option == -1)
@@ -501,7 +497,5 @@ int udevadm_info(int argc, char *argv[])
exit:
udev_device_cleanup(udev);
- sysfs_cleanup();
- logging_close();
return rc;
}