From: K. Y. Srinivasan Date: Mon, 6 Jun 2011 22:49:54 +0000 (-0700) Subject: Staging: hv: vmbus: Get rid of the unused function vmbus_ontimer() X-Git-Tag: MMI-PSA29.97-13-9~18845^2~568^2~52 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=30fbee49b0715ff1eb1f91644983f2c35b9421d5;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git Staging: hv: vmbus: Get rid of the unused function vmbus_ontimer() Now, get rid of the unused function vmbus_ontimer(). 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 b91b36912357..3e4422bc9b18 100644 --- a/drivers/staging/hv/channel.c +++ b/drivers/staging/hv/channel.c @@ -874,15 +874,3 @@ int vmbus_recvpacket_raw(struct vmbus_channel *channel, void *buffer, return 0; } EXPORT_SYMBOL_GPL(vmbus_recvpacket_raw); - -/* - * vmbus_ontimer - Timer event callback - */ -void vmbus_ontimer(unsigned long data) -{ - struct vmbus_channel *channel = (struct vmbus_channel *)data; - - if (channel->onchannel_callback) - channel->onchannel_callback(channel->channel_callback_context); -} -