summaryrefslogtreecommitdiff
path: root/device
diff options
context:
space:
mode:
Diffstat (limited to 'device')
-rw-r--r--device/dev_lookup.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/device/dev_lookup.c b/device/dev_lookup.c
index e257ae9..4037386 100644
--- a/device/dev_lookup.c
+++ b/device/dev_lookup.c
@@ -243,8 +243,6 @@ mach_device_deallocate(device)
/*
* port-to-device lookup routines.
*/
-decl_simple_lock_data(,
- dev_port_lock)
/*
* Enter a port-to-device mapping.
@@ -373,8 +371,6 @@ dev_lookup_init()
for (i = 0; i < NDEVHASH; i++)
queue_init(&dev_number_hash_table[i]);
- simple_lock_init(&dev_port_lock);
-
kmem_cache_init(&dev_hdr_cache, "mach_device",
sizeof(struct mach_device), 0, NULL, NULL, NULL, 0);
}