Commit 50fe56d2 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman
Browse files

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: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 77099f0a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;

+0 −2
Original line number Diff line number Diff line
@@ -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);