[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20080810215022.GD5480@cs181140183.pp.htv.fi>
Date: Mon, 11 Aug 2008 00:50:22 +0300
From: Adrian Bunk <bunk@...nel.org>
To: Manfred Spraul <manfred@...orfullife.com>
Cc: linux-kernel@...r.kernel.org,
Andrew Morton <akpm@...ux-foundation.org>
Subject: [2.6 patch] ipc/sem.c: make free_un() static
This patch makes the needlessly global free_un() static.
Signed-off-by: Adrian Bunk <bunk@...nel.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);
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists