summaryrefslogtreecommitdiff
path: root/ipc/util.c
diff options
context:
space:
mode:
authorNadia Derbey <Nadia.Derbey@bull.net>2007-10-19 10:40:52 +0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-19 22:53:47 +0400
commit28028313134e9f11e49f74a4beaa47c91e5ebf06 (patch)
treeadf36a3b40c5cb48ff5bd8803fc10530bac65450 /ipc/util.c
parentce621f5ba52f30dd59aef4fb50276faee04ef9cf (diff)
downloadlinux-28028313134e9f11e49f74a4beaa47c91e5ebf06.tar.xz
ipc: inline ipc_buildid()
This is a trivial patch that changes the ipc_buildid() routine into a static inline. 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.c')
-rw-r--r--ipc/util.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/ipc/util.c b/ipc/util.c
index c51c96f2e0cf..49e75efe305b 100644
--- a/ipc/util.c
+++ b/ipc/util.c
@@ -695,11 +695,6 @@ struct kern_ipc_perm *ipc_lock(struct ipc_ids *ids, int id)
return out;
}
-int ipc_buildid(struct ipc_ids* ids, int id, int seq)
-{
- return SEQ_MULTIPLIER*seq + id;
-}
-
#ifdef __ARCH_WANT_IPC_PARSE_VERSION