Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 314248
b: refs/heads/master
c: 50e7d15
h: refs/heads/master
v: v3
  • Loading branch information
tom.leiming@gmail.com authored and David S. Miller committed Jun 13, 2012
1 parent ac1345d commit 1f2903e
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: 5c2f05139ad9459979b3102846fa61347896d148
refs/heads/master: 50e7d153910b0735aa517c3d1f3723a88f66eaba
4 changes: 1 addition & 3 deletions trunk/drivers/net/usb/cdc-phonet.c
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ int usbpn_probe(struct usb_interface *intf, const struct usb_device_id *id)
SET_NETDEV_DEV(dev, &intf->dev);

pnd->dev = dev;
pnd->usb = usb_get_dev(usbdev);
pnd->usb = usbdev;
pnd->intf = intf;
pnd->data_intf = data_intf;
spin_lock_init(&pnd->tx_lock);
Expand Down Expand Up @@ -440,7 +440,6 @@ int usbpn_probe(struct usb_interface *intf, const struct usb_device_id *id)
static void usbpn_disconnect(struct usb_interface *intf)
{
struct usbpn_dev *pnd = usb_get_intfdata(intf);
struct usb_device *usb = pnd->usb;

if (pnd->disconnected)
return;
Expand All @@ -449,7 +448,6 @@ static void usbpn_disconnect(struct usb_interface *intf)
usb_driver_release_interface(&usbpn_driver,
(pnd->intf == intf) ? pnd->data_intf : pnd->intf);
unregister_netdev(pnd->dev);
usb_put_dev(usb);
}

static struct usb_driver usbpn_driver = {
Expand Down

0 comments on commit 1f2903e

Please sign in to comment.