summaryrefslogtreecommitdiff
path: root/udev.h
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.h
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.h')
-rw-r--r--udev.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/udev.h b/udev.h
index ace843f0ad..2c5270a4c3 100644
--- a/udev.h
+++ b/udev.h
@@ -50,7 +50,6 @@
struct udevice {
char devpath[DEVPATH_SIZE];
char subsystem[SUBSYSTEM_SIZE];
- char action[ACTION_SIZE];
char name[NAME_SIZE];
char owner[OWNER_SIZE];
char group[GROUP_SIZE];
@@ -65,7 +64,6 @@ struct udevice {
char config_file[NAME_SIZE];
long config_uptime;
char bus_id[SYSFS_NAME_LEN];
- char bus[SYSFS_NAME_LEN];
char program_result[NAME_SIZE];
char kernel_number[NAME_SIZE];
char kernel_name[NAME_SIZE];