Staging: hv: vmbus: Get rid of the unused wrapper - vmbus_onchannel_event()
authorK. Y. Srinivasan <kys@microsoft.com>
Mon, 6 Jun 2011 22:49:48 +0000 (15:49 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 7 Jun 2011 20:45:53 +0000 (13:45 -0700)
Now, get rid of the unused wrapper - vmbus_onchannel_event().

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>
drivers/staging/hv/channel.c
drivers/staging/hv/hyperv.h

index 7854de2970f30a974b3d0a21a95cca24eb28acf2..334885d6d339f19acad29a49bf15e5d29889eea1 100644 (file)
@@ -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
  */
index 3310e9bdf562bc35ded6141f3f9266572ac72040..e881cfe29fabc14613c9bf5ceba0f004e238fb20 100644 (file)
@@ -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);