提交 50fe56d2 编写于 作者: G Greg Kroah-Hartman

Staging: hv: make alloc_channel static

It's only used in one file, and is a pretty generic name.

Cc: Haiyang Zhang <haiyangz@microsoft.com>
Cc: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 77099f0a
......@@ -237,7 +237,7 @@ EXPORT_SYMBOL(hv_cb_utils);
/*
* alloc_channel - Allocate and initialize a vmbus channel object
*/
struct vmbus_channel *alloc_channel(void)
static struct vmbus_channel *alloc_channel(void)
{
struct vmbus_channel *channel;
......
......@@ -307,8 +307,6 @@ struct vmbus_channel_msginfo {
};
struct vmbus_channel *alloc_channel(void);
void free_channel(struct vmbus_channel *channel);
void vmbus_onmessage(void *context);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册