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 /udev.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 'udev.c')
-rw-r--r-- | udev.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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"); |