diff --git a/drivers/staging/hv/channel_mgmt.c b/drivers/staging/hv/channel_mgmt.c index 0d5dbf3908d9172aa6ed5d3301760e56b42e5c2a..45dbe305afed2fff3053403885e5e7c10ecdc820 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 b0ed31f75ebb8dd9603dd778296c00edd8b22145..d16cc0811169654b11e0f4501d7493bf98e49330 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);