Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 314246
b: refs/heads/master
c: ef9d884
h: refs/heads/master
v: v3
  • Loading branch information
tom.leiming@gmail.com authored and David S. Miller committed Jun 13, 2012
1 parent 8606bc2 commit dc40777
Show file tree
Hide file tree
Showing 2 changed files with 1 addition 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: d0daebc3d622f95db181601cb0c4a0781f74f758
refs/heads/master: ef9d884dadd4c9f2c8432a6b82309ae4a133a35d
4 changes: 0 additions & 4 deletions trunk/drivers/net/usb/usbnet.c
Original file line number Diff line number Diff line change
Expand Up @@ -1307,7 +1307,6 @@ void usbnet_disconnect (struct usb_interface *intf)
usb_free_urb(dev->interrupt);

free_netdev(net);
usb_put_dev (xdev);
}
EXPORT_SYMBOL_GPL(usbnet_disconnect);

Expand Down Expand Up @@ -1363,8 +1362,6 @@ usbnet_probe (struct usb_interface *udev, const struct usb_device_id *prod)
xdev = interface_to_usbdev (udev);
interface = udev->cur_altsetting;

usb_get_dev (xdev);

status = -ENOMEM;

// set up our own records
Expand Down Expand Up @@ -1493,7 +1490,6 @@ usbnet_probe (struct usb_interface *udev, const struct usb_device_id *prod)
out1:
free_netdev(net);
out:
usb_put_dev(xdev);
return status;
}
EXPORT_SYMBOL_GPL(usbnet_probe);
Expand Down

0 comments on commit dc40777

Please sign in to comment.