summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/hv/channel_mgmt.c2
-rw-r--r--include/linux/hyperv.h2
2 files changed, 1 insertions, 3 deletions
diff --git a/drivers/hv/channel_mgmt.c b/drivers/hv/channel_mgmt.c
index a2fc487d1422..12b85ff957fd 100644
--- a/drivers/hv/channel_mgmt.c
+++ b/drivers/hv/channel_mgmt.c
@@ -196,7 +196,7 @@ static void release_channel(struct work_struct *work)
/*
* free_channel - Release the resources used by the vmbus channel object
*/
-void free_channel(struct vmbus_channel *channel)
+static void free_channel(struct vmbus_channel *channel)
{
/*
diff --git a/include/linux/hyperv.h b/include/linux/hyperv.h
index ae865a11ad46..240e1141cbbd 100644
--- a/include/linux/hyperv.h
+++ b/include/linux/hyperv.h
@@ -606,8 +606,6 @@ struct vmbus_channel {
void *channel_callback_context;
};
-void free_channel(struct vmbus_channel *channel);
-
void vmbus_onmessage(void *context);
int vmbus_request_offers(void);