mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
Input: remove useless synchronize_rcu() calls
There is no need to call synchronize_rcu() after a list insertion, or a NULL->ptr assignment. However, the reverse operations do need this call. Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
This commit is contained in:
parent
1201e7e676
commit
7cbbb758d3
4 changed files with 0 additions and 5 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue