diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2011-10-11 11:40:01 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-10-11 11:51:22 -0400 |
commit | 9f3e28e375a8d509a27efe89f3c8ea2a15aeb524 (patch) | |
tree | 5dcbc6bdacb87b58baacebcd5782acae5371012f | |
parent | 2726f95e0b6c850b6162f287f2f83d9db37decd7 (diff) |
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>
-rw-r--r-- | drivers/hv/channel_mgmt.c | 2 | ||||
-rw-r--r-- | include/linux/hyperv.h | 2 |
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) | |||
196 | /* | 196 | /* |
197 | * free_channel - Release the resources used by the vmbus channel object | 197 | * free_channel - Release the resources used by the vmbus channel object |
198 | */ | 198 | */ |
199 | void free_channel(struct vmbus_channel *channel) | 199 | static void free_channel(struct vmbus_channel *channel) |
200 | { | 200 | { |
201 | 201 | ||
202 | /* | 202 | /* |
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 { | |||
606 | void *channel_callback_context; | 606 | void *channel_callback_context; |
607 | }; | 607 | }; |
608 | 608 | ||
609 | void free_channel(struct vmbus_channel *channel); | ||
610 | |||
611 | void vmbus_onmessage(void *context); | 609 | void vmbus_onmessage(void *context); |
612 | 610 | ||
613 | int vmbus_request_offers(void); | 611 | int vmbus_request_offers(void); |