Commit b524b9ad authored by Adrian Bunk's avatar Adrian Bunk Committed by Linus Torvalds

make ipc/util.c:sysvipc_find_ipc() static

sysvipc_find_ipc() can become static.
Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
Acked-by: default avatarNadia Derbey <Nadia.Derbey@bull.net>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 33b5f31b
......@@ -802,8 +802,8 @@ struct ipc_proc_iter {
/*
* This routine locks the ipc structure found at least at position pos.
*/
struct kern_ipc_perm *sysvipc_find_ipc(struct ipc_ids *ids, loff_t pos,
loff_t *new_pos)
static struct kern_ipc_perm *sysvipc_find_ipc(struct ipc_ids *ids, loff_t pos,
loff_t *new_pos)
{
struct kern_ipc_perm *ipc;
int total, id;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment