diff options
author | kay.sievers@vrfy.org <kay.sievers@vrfy.org> | 2004-11-28 14:01:43 +0100 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 23:00:29 -0700 |
commit | 45a7b668eca398831c0cfc39e4237494b3d603e9 (patch) | |
tree | 5511036e08b8163fc42c5df50e4b07a5970daa94 /udevtest.c | |
parent | 4497fcbf7159975560b680fd8130adcd414d3d67 (diff) |
[PATCH] remove unused variables
Remove udev.bus, cause it's currently unused and newer kernels will pass
it in the hotplug environment as PHYSDEVBUS.
Remove udev.action, cause it's unused.
Rename udev_set_values() to udev_init_device().
Diffstat (limited to 'udevtest.c')
-rw-r--r-- | udevtest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/udevtest.c b/udevtest.c index 9cc23f0ac7..38e2bb7562 100644 --- a/udevtest.c +++ b/udevtest.c @@ -97,7 +97,7 @@ int main(int argc, char *argv[], char *envp[]) subsystem = argv[2]; /* fill in values and test_run flag*/ - udev_set_values(&udev, devpath, subsystem, "add"); + udev_init_device(&udev, devpath, subsystem); /* open the device */ snprintf(path, SYSFS_PATH_MAX, "%s%s", sysfs_path, udev.devpath); |