Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 220429
b: refs/heads/master
c: b3289aa
h: refs/heads/master
i:
  220427: 585181e
v: v3
  • Loading branch information
Greg Kroah-Hartman committed Oct 21, 2010
1 parent f924f21 commit 65d09a0
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 17 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: ff3f8eece20bb45f8b515641b3797b6047a657fd
refs/heads/master: b3289aa819979dc75c169e15515ce3d2f0576e71
11 changes: 0 additions & 11 deletions trunk/drivers/staging/hv/channel_interface.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,20 +49,9 @@ static int ivmbus_sendpacket(struct hv_device *device, const void *buffer,
requestid, type, flags);
}

static int ivmbus_sendpacket_pagebuffer(struct hv_device *device,
struct hv_page_buffer pagebuffers[],
u32 pagecount, void *buffer,
u32 bufferlen, u64 requestid)
{
return vmbus_sendpacket_pagebuffer(device->channel, pagebuffers,
pagecount, buffer, bufferlen,
requestid);
}

/* vmbus interface function pointer table */
const struct vmbus_channel_interface vmbus_ops = {
.Open = ivmbus_open,
.Close = ivmbus_close,
.SendPacket = ivmbus_sendpacket,
.SendPacketPageBuffer = ivmbus_sendpacket_pagebuffer,
};
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 @@ -89,7 +89,6 @@ struct hv_device_info {
* @Open: Open the channel
* @Close: Close the channel
* @SendPacket: Send a packet over the channel
* @SendPacketPageBuffer: Send a single page buffer over the channel
*
* This structure contains function pointer to control vmbus channel
* behavior. None of these functions is externally callable, but they
Expand All @@ -104,10 +103,6 @@ struct vmbus_channel_interface {
void (*Close)(struct hv_device *device);
int (*SendPacket)(struct hv_device *Device, const void *Buffer,
u32 BufferLen, u64 RequestId, u32 Type, u32 Flags);
int (*SendPacketPageBuffer)(struct hv_device *dev,
struct hv_page_buffer PageBuffers[],
u32 PageCount, void *Buffer, u32 BufferLen,
u64 RequestId);
};

extern const struct vmbus_channel_interface vmbus_ops;
Expand Down

0 comments on commit 65d09a0

Please sign in to comment.