Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 45319
b: refs/heads/master
c: c07be13
h: refs/heads/master
i:
  45317: 6212c4d
  45315: 0ee3448
  45311: 843a8d0
v: v3
  • Loading branch information
Sarah Bailey authored and Greg Kroah-Hartman committed Jan 5, 2007
1 parent d62af9f commit 4b824d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 684a0e70008934dbdf87ed35e29ccbb58e91f8dc
refs/heads/master: c07be136a883a148a16ce4cd91163035631b37ea
2 changes: 1 addition & 1 deletion trunk/drivers/usb/core/endpoint.c
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,7 @@ static void ep_device_release(struct device *dev)
struct ep_device *ep_dev = to_ep_device(dev);

dev_dbg(dev, "%s called for %s\n", __FUNCTION__, dev->bus_id);
endpoint_free_minor(ep_dev);
kfree(ep_dev);
}

Expand Down Expand Up @@ -349,7 +350,6 @@ void usb_remove_ep_files(struct usb_host_endpoint *endpoint)
sprintf(name, "ep_%02x", endpoint->desc.bEndpointAddress);
sysfs_remove_link(&ep_dev->dev.parent->kobj, name);
sysfs_remove_group(&ep_dev->dev.kobj, &ep_dev_attr_grp);
endpoint_free_minor(ep_dev);
device_unregister(&ep_dev->dev);
endpoint->ep_dev = NULL;
destroy_endpoint_class();
Expand Down

0 comments on commit 4b824d2

Please sign in to comment.