Input: remove useless synchronize_rcu() calls
commit7cbbb758d3c93b24b45b169af55440d2e7d5b7f6
authorEric Dumazet <eric.dumazet@gmail.com>
Wed, 11 May 2011 22:38:10 +0000 (11 15:38 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 12 May 2011 15:28:57 +0000 (12 08:28 -0700)
tree2eda8bad7a0f92c67b2255e9076e892309e85011
parent1201e7e67634624aec89317cf308cd0d3d8d4770
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>
drivers/input/evdev.c
drivers/input/input.c
drivers/input/joydev.c
drivers/input/mousedev.c