1
0
Fork 0

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>
hifive-unleashed-5.1
Greg Kroah-Hartman 2010-10-20 15:51:57 -07:00
parent 77099f0afe
commit 50fe56d248
2 changed files with 1 additions and 3 deletions

View File

@ -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;

View File

@ -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);