Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 220423
b: refs/heads/master
c: 22ff5c9
h: refs/heads/master
i:
  220421: 3925749
  220419: a00fe8e
  220415: 8676269
v: v3
  • Loading branch information
Greg Kroah-Hartman committed Oct 21, 2010
1 parent ebb8afc commit 462e485
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 13 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: 50ea95dfa2c3d4e99223867dfa2bfc8b17a890c1
refs/heads/master: 22ff5c9166ed31130426714232f4a6f79235af34
9 changes: 0 additions & 9 deletions trunk/drivers/staging/hv/channel_interface.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,20 +68,11 @@ static int ivmbus_sendpacket_multipagebuffer(struct hv_device *device,
bufferlen, requestid);
}

static int ivmbus_recvpacket(struct hv_device *device, void *buffer,
u32 bufferlen, u32 *buffer_actuallen,
u64 *requestid)
{
return vmbus_recvpacket(device->channel, buffer, bufferlen,
buffer_actuallen, 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,
.SendPacketMultiPageBuffer = ivmbus_sendpacket_multipagebuffer,
.RecvPacket = ivmbus_recvpacket,
};
3 changes: 0 additions & 3 deletions trunk/drivers/staging/hv/vmbus_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ struct hv_device_info {
* @SendPacket: Send a packet over the channel
* @SendPacketPageBuffer: Send a single page buffer over the channel
* @SendPacketMultiPageBuffer: Send a multiple page buffers
* @RecvPacket: Receive packet
*
* This structure contains function pointer to control vmbus channel
* behavior. None of these functions is externally callable, but they
Expand All @@ -115,8 +114,6 @@ struct vmbus_channel_interface {
void *Buffer,
u32 BufferLen,
u64 RequestId);
int (*RecvPacket)(struct hv_device *dev, void *buf, u32 buflen,
u32 *BufferActualLen, u64 *RequestId);
};

extern const struct vmbus_channel_interface vmbus_ops;
Expand Down

0 comments on commit 462e485

Please sign in to comment.