From: Arjan van de Ven Date: Sat, 11 Apr 2009 23:50:15 +0000 (-0700) Subject: Input: remove unnecessary synchronize_rcu() call X-Git-Tag: upstream/snapshot3+hdmi~17654^2~76 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b79e83bdd961ec9b862191c0df51aaeb3cb85664;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git Input: remove unnecessary synchronize_rcu() call There is no need to issue serialize_rcu() after adding a new handle to the list of handles associated with the device because new events will "see" the new handle in the list immediately. Remove it so we can boot a little bit faster. Signed-off-by: Dmitry Torokhov --- diff --git a/drivers/input/input.c b/drivers/input/input.c index 913392f..a79c833 100644 --- a/drivers/input/input.c +++ b/drivers/input/input.c @@ -1551,7 +1551,6 @@ int input_register_handle(struct input_handle *handle) return error; list_add_tail_rcu(&handle->d_node, &dev->h_list); mutex_unlock(&dev->mutex); - synchronize_rcu(); /* * Since we are supposed to be called from ->connect()