Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 353598
b: refs/heads/master
c: 1a5d76d
h: refs/heads/master
v: v3
  • Loading branch information
Peter Senna Tschudin authored and Greg Kroah-Hartman committed Jan 17, 2013
1 parent ecfc7f8 commit 7c1716e
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: 6b8fbde41866306fa910754a59671b27aa5cfd37
refs/heads/master: 1a5d76dbe825fa6deba3d8979bbd334ea17b6dcc
4 changes: 0 additions & 4 deletions trunk/drivers/base/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1685,8 +1685,6 @@ EXPORT_SYMBOL_GPL(device_destroy);
*/
int device_rename(struct device *dev, const char *new_name)
{
char *old_class_name = NULL;
char *new_class_name = NULL;
char *old_device_name = NULL;
int error;

Expand Down Expand Up @@ -1717,8 +1715,6 @@ int device_rename(struct device *dev, const char *new_name)
out:
put_device(dev);

kfree(new_class_name);
kfree(old_class_name);
kfree(old_device_name);

return error;
Expand Down

0 comments on commit 7c1716e

Please sign in to comment.