mirror of
https://github.com/torvalds/linux
synced 2024-10-06 11:25:23 +00:00
make ipc/util.c:sysvipc_find_ipc() static
sysvipc_find_ipc() can become static. Signed-off-by: Adrian Bunk <bunk@kernel.org> Acked-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>
This commit is contained in:
parent
33b5f31bbc
commit
b524b9adb3
|
@ -802,8 +802,8 @@ struct ipc_proc_iter {
|
||||||
/*
|
/*
|
||||||
* This routine locks the ipc structure found at least at position pos.
|
* 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,
|
static struct kern_ipc_perm *sysvipc_find_ipc(struct ipc_ids *ids, loff_t pos,
|
||||||
loff_t *new_pos)
|
loff_t *new_pos)
|
||||||
{
|
{
|
||||||
struct kern_ipc_perm *ipc;
|
struct kern_ipc_perm *ipc;
|
||||||
int total, id;
|
int total, id;
|
||||||
|
|
Loading…
Reference in a new issue