]> git.neil.brown.name Git - history.git/commitdiff
[ATM]: schedule_timeout() sets curr_state, from Alexey Dobriyan <adobriyan@mail.ru>.
authorRandy Dunlap <rddunlap@osdl.org>
Tue, 7 Oct 2003 00:49:25 +0000 (17:49 -0700)
committerDavid S. Miller <davem@nuts.ninka.net>
Tue, 7 Oct 2003 00:49:25 +0000 (17:49 -0700)
drivers/atm/he.c

index d1c9d644fe24c650bcb4de2617ef4d6313c000c7..470244b70942d19913c9352eacf42247c2d9093b 100644 (file)
@@ -2633,7 +2633,6 @@ he_close(struct atm_vcc *vcc)
                       (retry < MAX_RETRY)) {
                        set_current_state(TASK_UNINTERRUPTIBLE);
                        (void) schedule_timeout(sleep);
-                       set_current_state(TASK_RUNNING);
                        if (sleep < HZ)
                                sleep = sleep * 2;