From 28028313134e9f11e49f74a4beaa47c91e5ebf06 Mon Sep 17 00:00:00 2001 From: Nadia Derbey Date: Thu, 18 Oct 2007 23:40:52 -0700 Subject: ipc: inline ipc_buildid() This is a trivial patch that changes the ipc_buildid() routine into a static inline. Signed-off-by: Nadia Derbey Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- ipc/util.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'ipc/util.c') 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 -- cgit v1.2.3-59-g8ed1b