Skip to content

Commit

Permalink
Staging: hv: vmbus: Get rid of the unused function vmbus_ontimer()
Browse files Browse the repository at this point in the history
Now, get rid of the unused function vmbus_ontimer().

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
K. Y. Srinivasan authored and Greg Kroah-Hartman committed Jun 7, 2011
1 parent e690b5a commit 30fbee4
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions drivers/staging/hv/channel.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

0 comments on commit 30fbee4

Please sign in to comment.