aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/evdev.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/input/evdev.c')
-rw-r--r--drivers/input/evdev.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/input/evdev.c b/drivers/input/evdev.c
index 75c4e8683033..be0921ef6b52 100644
--- a/drivers/input/evdev.c
+++ b/drivers/input/evdev.c
@@ -164,7 +164,6 @@ static int evdev_grab(struct evdev *evdev, struct evdev_client *client)
164 return error; 164 return error;
165 165
166 rcu_assign_pointer(evdev->grab, client); 166 rcu_assign_pointer(evdev->grab, client);
167 synchronize_rcu();
168 167
169 return 0; 168 return 0;
170} 169}
@@ -187,7 +186,6 @@ static void evdev_attach_client(struct evdev *evdev,
187 spin_lock(&evdev->client_lock); 186 spin_lock(&evdev->client_lock);
188 list_add_tail_rcu(&client->node, &evdev->client_list); 187 list_add_tail_rcu(&client->node, &evdev->client_list);
189 spin_unlock(&evdev->client_lock); 188 spin_unlock(&evdev->client_lock);
190 synchronize_rcu();
191} 189}
192 190
193static void evdev_detach_client(struct evdev *evdev, 191static void evdev_detach_client(struct evdev *evdev,