Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=f0b92b961b222fa1012058a773dfca1c5f21a498
Commit:     f0b92b961b222fa1012058a773dfca1c5f21a498
Parent:     b037b08e59633d939d79f1df9c43c6625f8db904
Author:     Dmitry Torokhov <[EMAIL PROTECTED]>
AuthorDate: Sun Nov 4 00:42:21 2007 -0400
Committer:  Dmitry Torokhov <[EMAIL PROTECTED]>
CommitDate: Mon Jan 21 01:11:06 2008 -0500

    Input: atkbd - remove unneeded synchronize_sched()
    
    atkbd_disable() provides all necessary synchronization with
    atkbd_interrupt().
    
    Signed-off-by: Dmitry Torokhov <[EMAIL PROTECTED]>
---
 drivers/input/keyboard/atkbd.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/drivers/input/keyboard/atkbd.c b/drivers/input/keyboard/atkbd.c
index 7162f79..514d80b 100644
--- a/drivers/input/keyboard/atkbd.c
+++ b/drivers/input/keyboard/atkbd.c
@@ -823,7 +823,6 @@ static void atkbd_disconnect(struct serio *serio)
        atkbd_disable(atkbd);
 
        /* make sure we don't have a command in flight */
-       synchronize_sched();  /* Allow atkbd_interrupt()s to complete. */
        flush_scheduled_work();
 
        sysfs_remove_group(&serio->dev.kobj, &atkbd_attribute_group);
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to