From: Adrian Bunk Date: Tue, 29 Apr 2008 08:01:14 +0000 (-0700) Subject: ipmi: make alloc_recv_msg static X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=74006309c7f09c893c18cbb6f0e19137edd04239;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git ipmi: make alloc_recv_msg static Make the needlessly global ipmi_alloc_recv_msg() static. Signed-off-by: Adrian Bunk Signed-off-by: Corey Minyard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/char/ipmi/ipmi_msghandler.c b/drivers/char/ipmi/ipmi_msghandler.c index 8c4baddd373..8a59aaa21be 100644 --- a/drivers/char/ipmi/ipmi_msghandler.c +++ b/drivers/char/ipmi/ipmi_msghandler.c @@ -3932,7 +3932,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;