Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 336946
b: refs/heads/master
c: b456355
h: refs/heads/master
v: v3
  • Loading branch information
Wei Yongjun authored and Greg Kroah-Hartman committed Oct 24, 2012
1 parent 6f0ed3f commit 459cecc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 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: 8b5c8b6396bc008fc23ade51a260594d59db4749
refs/heads/master: b45635542ede4ffeecb8fc4a1033ac5511ec2439
8 changes: 0 additions & 8 deletions trunk/drivers/hv/channel_mgmt.c
Original file line number Diff line number Diff line change
Expand Up @@ -265,14 +265,9 @@ static void vmbus_onoffer(struct vmbus_channel_message_header *hdr)
{
struct vmbus_channel_offer_channel *offer;
struct vmbus_channel *newchannel;
uuid_le *guidtype;
uuid_le *guidinstance;

offer = (struct vmbus_channel_offer_channel *)hdr;

guidtype = &offer->offer.if_type;
guidinstance = &offer->offer.if_instance;

/* Allocate the channel object and save this offer. */
newchannel = alloc_channel();
if (!newchannel) {
Expand Down Expand Up @@ -470,7 +465,6 @@ static void vmbus_onversion_response(
{
struct vmbus_channel_msginfo *msginfo;
struct vmbus_channel_message_header *requestheader;
struct vmbus_channel_initiate_contact *initiate;
struct vmbus_channel_version_response *version_response;
unsigned long flags;

Expand All @@ -484,8 +478,6 @@ static void vmbus_onversion_response(

if (requestheader->msgtype ==
CHANNELMSG_INITIATE_CONTACT) {
initiate =
(struct vmbus_channel_initiate_contact *)requestheader;
memcpy(&msginfo->response.version_response,
version_response,
sizeof(struct vmbus_channel_version_response));
Expand Down

0 comments on commit 459cecc

Please sign in to comment.