Skip to content

Commit

Permalink
Staging: hv: make alloc_channel static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Greg Kroah-Hartman committed Oct 20, 2010
1 parent 77099f0 commit 50fe56d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion drivers/staging/hv/channel_mgmt.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 0 additions & 2 deletions drivers/staging/hv/channel_mgmt.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 50fe56d

Please sign in to comment.