Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 267962
b: refs/heads/master
c: ace163a
h: refs/heads/master
v: v3
  • Loading branch information
K. Y. Srinivasan authored and Greg Kroah-Hartman committed Aug 25, 2011
1 parent bf50916 commit c283dd9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 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: ff2bd69ae3ec164b606114fcbd9b9e4d5f2bcdc7
refs/heads/master: ace163a85a9a98e7f91db3a23db3f63689038f1e
4 changes: 1 addition & 3 deletions trunk/drivers/staging/hv/netvsc.c
Original file line number Diff line number Diff line change
Expand Up @@ -918,7 +918,7 @@ int netvsc_device_add(struct hv_device *device, void *additional_info)

net_device = alloc_net_device(device);
if (!net_device) {
ret = -1;
ret = -ENOMEM;
goto cleanup;
}

Expand Down Expand Up @@ -947,7 +947,6 @@ int netvsc_device_add(struct hv_device *device, void *additional_info)

if (ret != 0) {
dev_err(&device->device, "unable to open channel: %d", ret);
ret = -1;
goto cleanup;
}

Expand All @@ -959,7 +958,6 @@ int netvsc_device_add(struct hv_device *device, void *additional_info)
if (ret != 0) {
dev_err(&device->device,
"unable to connect to NetVSP - %d", ret);
ret = -1;
goto close;
}

Expand Down

0 comments on commit c283dd9

Please sign in to comment.