diff options
author | Nadia Derbey <Nadia.Derbey@bull.net> | 2007-10-19 02:40:50 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-19 14:53:44 -0400 |
commit | 637c36634029e4e7c81112796dafc32d56355b4a (patch) | |
tree | b30106d838864fe6c8ba97c7dc68304b820e7694 /ipc/util.h | |
parent | 7748dbfaa010b12d5fb9ddf80199534c565c6bce (diff) |
ipc: remove the ipc_get() routine
This is a trivial patch that removes the ipc_get() routine: it is replaced
by a call to idr_find().
Signed-off-by: Nadia Derbey <Nadia.Derbey@bull.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'ipc/util.h')
-rw-r--r-- | ipc/util.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ipc/util.h b/ipc/util.h index 30b2a6d7cbed..1546eda7d99e 100644 --- a/ipc/util.h +++ b/ipc/util.h | |||
@@ -103,7 +103,6 @@ void* ipc_rcu_alloc(int size); | |||
103 | void ipc_rcu_getref(void *ptr); | 103 | void ipc_rcu_getref(void *ptr); |
104 | void ipc_rcu_putref(void *ptr); | 104 | void ipc_rcu_putref(void *ptr); |
105 | 105 | ||
106 | struct kern_ipc_perm* ipc_get(struct ipc_ids* ids, int id); | ||
107 | struct kern_ipc_perm* ipc_lock(struct ipc_ids* ids, int id); | 106 | struct kern_ipc_perm* ipc_lock(struct ipc_ids* ids, int id); |
108 | void ipc_lock_by_ptr(struct kern_ipc_perm *ipcp); | 107 | void ipc_lock_by_ptr(struct kern_ipc_perm *ipcp); |
109 | void ipc_unlock(struct kern_ipc_perm* perm); | 108 | void ipc_unlock(struct kern_ipc_perm* perm); |