2008-03-30 23:13:52

by Adrian Bunk

[permalink] [raw]
Subject: [2.6 patch] make ipmi_alloc_recv_msg() static

This patch makes the needlessly global ipmi_alloc_recv_msg() static.

Signed-off-by: Adrian Bunk <[email protected]>

---
2a99aad0e15f482da6e0f34fa3005d4574a1a8a9 diff --git a/drivers/char/ipmi/ipmi_msghandler.c b/drivers/char/ipmi/ipmi_msghandler.c
index 32b2b22..63171d7 100644
--- a/drivers/char/ipmi/ipmi_msghandler.c
+++ b/drivers/char/ipmi/ipmi_msghandler.c
@@ -3789,7 +3789,7 @@ static void free_recv_msg(struct ipmi_recv_msg *msg)
kfree(msg);
}

-struct ipmi_recv_msg *ipmi_alloc_recv_msg(void)
+static struct ipmi_recv_msg *ipmi_alloc_recv_msg(void)
{
struct ipmi_recv_msg *rv;