aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input
diff options
context:
space:
mode:
authorArjan van de Ven <arjan@infradead.org>2009-04-11 19:50:15 -0400
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2009-04-11 20:09:14 -0400
commitb79e83bdd961ec9b862191c0df51aaeb3cb85664 (patch)
treec8cb55afbc03e868d9ea013cafce559d10ff8e78 /drivers/input
parent7c46e23681ebca23249806b379125cf72b7435b6 (diff)
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 <dtor@mail.ru>
Diffstat (limited to 'drivers/input')
-rw-r--r--drivers/input/input.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/input/input.c b/drivers/input/input.c
index 913392f63f76..a79c83397a9c 100644
--- a/drivers/input/input.c
+++ b/drivers/input/input.c
@@ -1551,7 +1551,6 @@ int input_register_handle(struct input_handle *handle)
1551 return error; 1551 return error;
1552 list_add_tail_rcu(&handle->d_node, &dev->h_list); 1552 list_add_tail_rcu(&handle->d_node, &dev->h_list);
1553 mutex_unlock(&dev->mutex); 1553 mutex_unlock(&dev->mutex);
1554 synchronize_rcu();
1555 1554
1556 /* 1555 /*
1557 * Since we are supposed to be called from ->connect() 1556 * Since we are supposed to be called from ->connect()