summaryrefslogtreecommitdiff
path: root/udev.c
diff options
context:
space:
mode:
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>2004-11-28 14:01:43 +0100
committerGreg KH <gregkh@suse.de>2005-04-26 23:00:29 -0700
commit45a7b668eca398831c0cfc39e4237494b3d603e9 (patch)
tree5511036e08b8163fc42c5df50e4b07a5970daa94 /udev.c
parent4497fcbf7159975560b680fd8130adcd414d3d67 (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 'udev.c')
-rw-r--r--udev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev.c b/udev.c
index 958fa4eb0a..847cc5dade 100644
--- a/udev.c
+++ b/udev.c
@@ -119,7 +119,7 @@ int main(int argc, char *argv[], char *envp[])
/* trigger timeout to interrupt blocking syscalls */
alarm(ALARM_TIMEOUT);
- udev_set_values(&udev, devpath, subsystem, action);
+ udev_init_device(&udev, devpath, subsystem);
if (strstr(argv[0], "udevstart") || (argv[1] != NULL && strstr(argv[1], "udevstart"))) {
dbg("udevstart");