Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 59100
b: refs/heads/master
c: 1f5681a
h: refs/heads/master
v: v3
  • Loading branch information
Stefan Richter authored and Greg Kroah-Hartman committed Jul 11, 2007
1 parent e18f2f3 commit 07066cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 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: f8916c11a4dc4cb2367e9bee1788f4e0f1b4eabc
refs/heads/master: 1f5681aae8feadd113644c9e077152416c12b75c
3 changes: 1 addition & 2 deletions trunk/drivers/base/dd.c
Original file line number Diff line number Diff line change
Expand Up @@ -296,9 +296,8 @@ static void __device_release_driver(struct device * dev)
{
struct device_driver * drv;

drv = dev->driver;
drv = get_driver(dev->driver);
if (drv) {
get_driver(drv);
driver_sysfs_remove(dev);
sysfs_remove_link(&dev->kobj, "driver");
klist_remove(&dev->knode_driver);
Expand Down

0 comments on commit 07066cf

Please sign in to comment.