Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 25761
b: refs/heads/master
c: 0f836ca
h: refs/heads/master
i:
  25759: d50c085
v: v3
  • Loading branch information
Alan Stern authored and Greg Kroah-Hartman committed Apr 14, 2006
1 parent 05d3b60 commit cf9ab10
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: 4508a7a734b111b8b7e39986237d84acb1168dd0
refs/heads/master: 0f836ca4c122f4ef096110d652a6326fe34e6961
2 changes: 1 addition & 1 deletion trunk/drivers/base/dd.c
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ static void __device_release_driver(struct device * dev)
sysfs_remove_link(&dev->kobj, "driver");
klist_remove(&dev->knode_driver);

if (dev->bus->remove)
if (dev->bus && dev->bus->remove)
dev->bus->remove(dev);
else if (drv->remove)
drv->remove(dev);
Expand Down

0 comments on commit cf9ab10

Please sign in to comment.