From: K. Y. Srinivasan Date: Mon, 6 Jun 2011 22:49:48 +0000 (-0700) Subject: Staging: hv: vmbus: Get rid of the unused wrapper - vmbus_onchannel_event() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d66434782cae2fa5ac905d1e2f6f6480126d30c0;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git Staging: hv: vmbus: Get rid of the unused wrapper - vmbus_onchannel_event() Now, get rid of the unused wrapper - vmbus_onchannel_event(). Signed-off-by: K. Y. Srinivasan Signed-off-by: Haiyang Zhang Signed-off-by: Abhishek Kane Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/hv/channel.c b/drivers/staging/hv/channel.c index 7854de2970f3..334885d6d339 100644 --- a/drivers/staging/hv/channel.c +++ b/drivers/staging/hv/channel.c @@ -880,16 +880,6 @@ int vmbus_recvpacket_raw(struct vmbus_channel *channel, void *buffer, } EXPORT_SYMBOL_GPL(vmbus_recvpacket_raw); -/* - * vmbus_onchannel_event - Channel event callback - */ -void vmbus_onchannel_event(struct vmbus_channel *channel) -{ - - channel->onchannel_callback(channel->channel_callback_context); - -} - /* * vmbus_ontimer - Timer event callback */ diff --git a/drivers/staging/hv/hyperv.h b/drivers/staging/hv/hyperv.h index 3310e9bdf562..e881cfe29fab 100644 --- a/drivers/staging/hv/hyperv.h +++ b/drivers/staging/hv/hyperv.h @@ -691,7 +691,6 @@ extern int vmbus_recvpacket_raw(struct vmbus_channel *channel, u32 *buffer_actual_len, u64 *requestid); -extern void vmbus_onchannel_event(struct vmbus_channel *channel); extern void vmbus_get_debug_info(struct vmbus_channel *channel, struct vmbus_channel_debug_info *debug);