Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 250510
b: refs/heads/master
c: 7cbbb75
h: refs/heads/master
v: v3
  • Loading branch information
Eric Dumazet authored and Dmitry Torokhov committed May 12, 2011
1 parent 8a981a7 commit 234b5f5
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 6 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: 1201e7e67634624aec89317cf308cd0d3d8d4770
refs/heads/master: 7cbbb758d3c93b24b45b169af55440d2e7d5b7f6
2 changes: 0 additions & 2 deletions trunk/drivers/input/evdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,6 @@ static int evdev_grab(struct evdev *evdev, struct evdev_client *client)
return error;

rcu_assign_pointer(evdev->grab, client);
synchronize_rcu();

return 0;
}
Expand All @@ -187,7 +186,6 @@ static void evdev_attach_client(struct evdev *evdev,
spin_lock(&evdev->client_lock);
list_add_tail_rcu(&client->node, &evdev->client_list);
spin_unlock(&evdev->client_lock);
synchronize_rcu();
}

static void evdev_detach_client(struct evdev *evdev,
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/input/input.c
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,6 @@ int input_grab_device(struct input_handle *handle)
}

rcu_assign_pointer(dev->grab, handle);
synchronize_rcu();

out:
mutex_unlock(&dev->mutex);
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/input/joydev.c
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,6 @@ static void joydev_attach_client(struct joydev *joydev,
spin_lock(&joydev->client_lock);
list_add_tail_rcu(&client->node, &joydev->client_list);
spin_unlock(&joydev->client_lock);
synchronize_rcu();
}

static void joydev_detach_client(struct joydev *joydev,
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/input/mousedev.c
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,6 @@ static void mousedev_attach_client(struct mousedev *mousedev,
spin_lock(&mousedev->client_lock);
list_add_tail_rcu(&client->node, &mousedev->client_list);
spin_unlock(&mousedev->client_lock);
synchronize_rcu();
}

static void mousedev_detach_client(struct mousedev *mousedev,
Expand Down

0 comments on commit 234b5f5

Please sign in to comment.