Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 220435
b: refs/heads/master
c: 1fb9dff
h: refs/heads/master
i:
  220433: 67795fc
  220431: d708aed
v: v3
  • Loading branch information
Greg Kroah-Hartman committed Oct 21, 2010
1 parent e4d1caa commit 4375a99
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: 1382e0178eeb073594c90a80409e0923adc5048c
refs/heads/master: 1fb9dff04c97398c4c10a97037aa1c3505663153
8 changes: 4 additions & 4 deletions trunk/drivers/staging/hv/netvsc.c
Original file line number Diff line number Diff line change
Expand Up @@ -738,17 +738,17 @@ static int NetVscOnDeviceAdd(struct hv_device *Device, void *AdditionalInfo)
if (ret != 0) {
DPRINT_ERR(NETVSC, "unable to connect to NetVSP - %d", ret);
ret = -1;
goto Close;
goto close;
}

DPRINT_INFO(NETVSC, "*** NetVSC channel handshake result - %d ***",
ret);

return ret;

Close:
close:
/* Now, we can close the channel safely */
Device->Driver->VmbusChannelInterface.Close(Device);
vmbus_close(Device->channel);

Cleanup:

Expand Down Expand Up @@ -810,7 +810,7 @@ static int NetVscOnDeviceRemove(struct hv_device *Device)
DPRINT_INFO(NETVSC, "net device (%p) safe to remove", netDevice);

/* Now, we can close the channel safely */
Device->Driver->VmbusChannelInterface.Close(Device);
vmbus_close(Device->channel);

/* Release all resources */
list_for_each_entry_safe(netvscPacket, pos,
Expand Down

0 comments on commit 4375a99

Please sign in to comment.