summaryrefslogtreecommitdiff
path: root/udev/udevadm-info.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-09-04 10:34:48 +0200
committerKay Sievers <kay.sievers@vrfy.org>2008-09-04 10:34:48 +0200
commit60865f33a1fee5bddc8add3963f44691996d2ceb (patch)
treedecf965523eaf8e82f04cc5b5493f92ea89b94ea /udev/udevadm-info.c
parent8a3c06af21bbbe21d2517247ade2f0f9ae6ef432 (diff)
udevadm: move init from commands to udevadm
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;
}