summaryrefslogtreecommitdiff
path: root/udev/udevadm-test.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-test.c
parent8a3c06af21bbbe21d2517247ade2f0f9ae6ef432 (diff)
udevadm: move init from commands to udevadm
Diffstat (limited to 'udev/udevadm-test.c')
-rw-r--r--udev/udevadm-test.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/udev/udevadm-test.c b/udev/udevadm-test.c
index 291f7e934f..d06249c6c1 100644
--- a/udev/udevadm-test.c
+++ b/udev/udevadm-test.c
@@ -92,7 +92,6 @@ int udevadm_test(int argc, char *argv[])
};
info("version %s\n", VERSION);
- udev_config_init();
if (udev_log_priority < LOG_INFO) {
char priority[32];
@@ -143,7 +142,6 @@ int udevadm_test(int argc, char *argv[])
"some values may be different, or not available at a simulation run.\n"
"\n");
- sysfs_init();
udev_rules_init(&rules, 0);
/* remove /sys if given */
@@ -202,6 +200,5 @@ int udevadm_test(int argc, char *argv[])
exit:
udev_rules_cleanup(&rules);
- sysfs_cleanup();
return rc;
}