Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 53401
b: refs/heads/master
c: 54f9e36
h: refs/heads/master
i:
  53399: 3b46cbc
v: v3
  • Loading branch information
Dmitry Torokhov committed Mar 16, 2007
1 parent 78164f3 commit d659c7d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 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: c8e4c77277ca5db0c4ddbfb4bc628b8abad585b0
refs/heads/master: 54f9e36cb83e7da17dc0596d365fe019a25c226f
8 changes: 1 addition & 7 deletions trunk/drivers/input/input.c
Original file line number Diff line number Diff line change
Expand Up @@ -1024,14 +1024,8 @@ EXPORT_SYMBOL(input_allocate_device);
*/
void input_free_device(struct input_dev *dev)
{
if (dev) {

mutex_lock(&dev->mutex);
dev->name = dev->phys = dev->uniq = NULL;
mutex_unlock(&dev->mutex);

if (dev)
input_put_device(dev);
}
}
EXPORT_SYMBOL(input_free_device);

Expand Down

0 comments on commit d659c7d

Please sign in to comment.