summaryrefslogtreecommitdiffstats
path: root/drivers/hv
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2011-10-11 17:40:01 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2011-10-11 17:51:22 +0200
commit9f3e28e375a8d509a27efe89f3c8ea2a15aeb524 (patch)
tree5dcbc6bdacb87b58baacebcd5782acae5371012f /drivers/hv
parenthv: hyperv.h: remove unneeded forward declarations of structures (diff)
downloadlinux-9f3e28e375a8d509a27efe89f3c8ea2a15aeb524.tar.xz
linux-9f3e28e375a8d509a27efe89f3c8ea2a15aeb524.zip
hv: remove free_channel() from hyperv.h
This function is only used in the file it is declared in (channel_mgmt.c) so make it static and remove it from the hyperv.h file. Cc: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/hv')
-rw-r--r--drivers/hv/channel_mgmt.c2
1 files changed, 1 insertions, 1 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)
{
/*