Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 46606
b: refs/heads/master
c: 717e48c
h: refs/heads/master
v: v3
  • Loading branch information
Cornelia Huck authored and Greg Kroah-Hartman committed Feb 7, 2007
1 parent 1218192 commit 464195c
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: 43cb76d91ee85f579a69d42bc8efc08bac560278
refs/heads/master: 717e48c29d9a58f4d31c1651bec364212da5f6b2
4 changes: 0 additions & 4 deletions trunk/drivers/base/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1004,10 +1004,6 @@ int device_move(struct device *dev, struct device *new_parent)
if (!dev)
return -EINVAL;

if (!device_is_registered(dev)) {
error = -EINVAL;
goto out;
}
new_parent = get_device(new_parent);
if (!new_parent) {
error = -EINVAL;
Expand Down

0 comments on commit 464195c

Please sign in to comment.