提交 9f3e28e3 编写于 作者: G Greg Kroah-Hartman

hv: remove free_channel() from hyperv.h

This function is only used in the file it is declared in
(channel_mgmt.c) so make it static and remove it from the hyperv.h file.

Cc: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 2726f95e
......@@ -196,7 +196,7 @@ static void release_channel(struct work_struct *work)
/*
* free_channel - Release the resources used by the vmbus channel object
*/
void free_channel(struct vmbus_channel *channel)
static void free_channel(struct vmbus_channel *channel)
{
/*
......
......@@ -606,8 +606,6 @@ struct vmbus_channel {
void *channel_callback_context;
};
void free_channel(struct vmbus_channel *channel);
void vmbus_onmessage(void *context);
int vmbus_request_offers(void);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册