ipc/sem.c: make free_un() static
Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
c9f66169f1
commit
6d97e2345a
@ -504,7 +504,7 @@ static int count_semzcnt (struct sem_array * sma, ushort semnum)
|
|||||||
return semzcnt;
|
return semzcnt;
|
||||||
}
|
}
|
||||||
|
|
||||||
void free_un(struct rcu_head *head)
|
static void free_un(struct rcu_head *head)
|
||||||
{
|
{
|
||||||
struct sem_undo *un = container_of(head, struct sem_undo, rcu);
|
struct sem_undo *un = container_of(head, struct sem_undo, rcu);
|
||||||
kfree(un);
|
kfree(un);
|
||||||
|
Loading…
Reference in New Issue
Block a user