login
Header Space

 
 

[2.6 patch] make ipmi_alloc_recv_msg() static

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <minyard@...>
Cc: <openipmi-developer@...>, <linux-kernel@...>
Date: Monday, April 14, 2008 - 2:41 pm

This patch makes the needlessly global ipmi_alloc_recv_msg() static.

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---

This patch has been sent on:
- 31 Mar 2008

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;
 

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[2.6 patch] make ipmi_alloc_recv_msg() static, Adrian Bunk, (Mon Apr 14, 2:41 pm)
speck-geostationary