From: Greg Kroah-Hartman Date: Wed, 20 Oct 2010 22:51:57 +0000 (-0700) Subject: Staging: hv: make alloc_channel static X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=50fe56d24897838d5b65ee4d4baa6cad73de804b;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git Staging: hv: make alloc_channel static It's only used in one file, and is a pretty generic name. Cc: Haiyang Zhang Cc: Hank Janssen Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/hv/channel_mgmt.c b/drivers/staging/hv/channel_mgmt.c index 0d5dbf3908d9..45dbe305afed 100644 --- a/drivers/staging/hv/channel_mgmt.c +++ b/drivers/staging/hv/channel_mgmt.c @@ -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; diff --git a/drivers/staging/hv/channel_mgmt.h b/drivers/staging/hv/channel_mgmt.h index b0ed31f75ebb..d16cc0811169 100644 --- a/drivers/staging/hv/channel_mgmt.h +++ b/drivers/staging/hv/channel_mgmt.h @@ -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);