Skip to content

Commit

Permalink
Staging: hv: vmbus: Get rid of the unused wrapper - vmbus_onchannel_e…
Browse files Browse the repository at this point in the history
…vent()

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>
  • Loading branch information
K. Y. Srinivasan authored and Greg Kroah-Hartman committed Jun 7, 2011
1 parent df452fa commit d664347
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
10 changes: 0 additions & 10 deletions drivers/staging/hv/channel.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down
1 change: 0 additions & 1 deletion drivers/staging/hv/hyperv.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit d664347

Please sign in to comment.