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: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
77099f0afe
commit
50fe56d248
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user