Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 220440
b: refs/heads/master
c: 036a257
h: refs/heads/master
v: v3
  • Loading branch information
Greg Kroah-Hartman committed Oct 21, 2010
1 parent f0c2e49 commit 9121950
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 18 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 60f841ac36cc7eff80239bd219cda7cafac3ea2a
refs/heads/master: 036a257b0d6809988f9d3fb01e01c358ca8c45de
12 changes: 0 additions & 12 deletions trunk/drivers/staging/hv/channel_interface.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,6 @@
#include "osd.h"
#include "vmbus_private.h"

static int ivmbus_open(struct hv_device *device, u32 sendbuffer_size,
u32 recv_ringbuffer_size, void *userdata,
u32 userdatalen,
void (*channel_callback)(void *context),
void *context)
{
return vmbus_open(device->channel, sendbuffer_size,
recv_ringbuffer_size, userdata, userdatalen,
channel_callback, context);
}

/* vmbus interface function pointer table */
const struct vmbus_channel_interface vmbus_ops = {
.Open = ivmbus_open,
};
5 changes: 0 additions & 5 deletions trunk/drivers/staging/hv/vmbus_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -86,18 +86,13 @@ struct hv_device_info {

/**
* struct vmbus_channel_interface - Contains member functions for vmbus channel
* @Open: Open the channel
*
* This structure contains function pointer to control vmbus channel
* behavior. None of these functions is externally callable, but they
* are used for normal vmbus channel internal behavior.
* Only used by Hyper-V drivers.
*/
struct vmbus_channel_interface {
int (*Open)(struct hv_device *Device, u32 SendBufferSize,
u32 RecvRingBufferSize, void *UserData, u32 UserDataLen,
void (*ChannelCallback)(void *context),
void *Context);
};

extern const struct vmbus_channel_interface vmbus_ops;
Expand Down

0 comments on commit 9121950

Please sign in to comment.