diff options
author | Nadia Derbey <Nadia.Derbey@bull.net> | 2007-10-18 23:40:50 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-19 11:53:44 -0700 |
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 30b2a6d7cbe..1546eda7d99 100644 --- a/ipc/util.h +++ b/ipc/util.h @@ -103,7 +103,6 @@ void* ipc_rcu_alloc(int size); void ipc_rcu_getref(void *ptr); void ipc_rcu_putref(void *ptr); -struct kern_ipc_perm* ipc_get(struct ipc_ids* ids, int id); struct kern_ipc_perm* ipc_lock(struct ipc_ids* ids, int id); void ipc_lock_by_ptr(struct kern_ipc_perm *ipcp); void ipc_unlock(struct kern_ipc_perm* perm); |