summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarin Ramesa <mpr@hi.t-com.hr>2013-12-05 22:03:07 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-12-08 23:51:08 +0900
commit5636bbf479dc4e8e2f50c40295b4e957aeff0809 (patch)
treeea9be93dc840317dcd0d456cb9327e2e85c84b67
parent763723cc3fc373b29ce3b83c2dae5a7c75901512 (diff)
device/dev_lookup.c: remove unused lock
* device/dev_lookup.c (dev_port_lock): Remove unused lock.
-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);
}