* [2.6 patch] ipc/sem.c: make free_un() static
@ 2008-08-10 21:50 Adrian Bunk
0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2008-08-10 21:50 UTC (permalink / raw)
To: Manfred Spraul; +Cc: linux-kernel, Andrew Morton
This patch makes the needlessly global free_un() static.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
---
4d674b52ad86936fcc96601fd37c04fb7343c0b8
diff --git a/ipc/sem.c b/ipc/sem.c
index bf1bc36..0821224 100644
--- a/ipc/sem.c
+++ b/ipc/sem.c
@@ -504,7 +504,7 @@ static int count_semzcnt (struct sem_array * sma, ushort semnum)
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);
kfree(un);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-08-10 21:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-10 21:50 [2.6 patch] ipc/sem.c: make free_un() static Adrian Bunk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®