Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 259457
b: refs/heads/master
c: 0a62040
h: refs/heads/master
i:
  259455: b68c309
v: v3
  • Loading branch information
K. Y. Srinivasan authored and Greg Kroah-Hartman committed Jun 7, 2011
1 parent e35756f commit 176329b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 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: d66434782cae2fa5ac905d1e2f6f6480126d30c0
refs/heads/master: 0a62040eac5ec13e5ffca82e4d9a7dca888fa236
13 changes: 0 additions & 13 deletions trunk/drivers/staging/hv/channel.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ static int create_gpadl_header(
u32 size, /* page-size multiple */
struct vmbus_channel_msginfo **msginfo,
u32 *messagecount);
static void dump_vmbus_channel(struct vmbus_channel *channel);
static void vmbus_setevent(struct vmbus_channel *channel);

/*
Expand Down Expand Up @@ -618,7 +617,6 @@ int vmbus_sendpacket(struct vmbus_channel *channel, const void *buffer,
u64 aligned_data = 0;
int ret;

dump_vmbus_channel(channel);

/* Setup the descriptor */
desc.type = type; /* VmbusPacketTypeDataInBand; */
Expand Down Expand Up @@ -665,7 +663,6 @@ int vmbus_sendpacket_pagebuffer(struct vmbus_channel *channel,
if (pagecount > MAX_PAGE_BUFFER_COUNT)
return -EINVAL;

dump_vmbus_channel(channel);

/*
* Adjust the size down since vmbus_channel_packet_page_buffer is the
Expand Down Expand Up @@ -725,7 +722,6 @@ int vmbus_sendpacket_multipagebuffer(struct vmbus_channel *channel,
u32 pfncount = NUM_PAGES_SPANNED(multi_pagebuffer->offset,
multi_pagebuffer->len);

dump_vmbus_channel(channel);

if ((pfncount < 0) || (pfncount > MAX_MULTIPAGE_BUFFER_COUNT))
return -EINVAL;
Expand Down Expand Up @@ -891,12 +887,3 @@ void vmbus_ontimer(unsigned long data)
channel->onchannel_callback(channel->channel_callback_context);
}

/*
* dump_vmbus_channel- Dump vmbus channel info to the console
*/
static void dump_vmbus_channel(struct vmbus_channel *channel)
{
DPRINT_DBG(VMBUS, "Channel (%d)", channel->offermsg.child_relid);
hv_dump_ring_info(&channel->outbound, "Outbound ");
hv_dump_ring_info(&channel->inbound, "Inbound ");
}

0 comments on commit 176329b

Please sign in to comment.