Messages in this thread Patch in this message | | | Date | Thu, 11 Sep 2003 17:16:47 -0300 | From | Felipe W Damasio <> | Subject | [PATCH] video/sa1000 cleanup |
| |
Hi,
This patch, against 2.6-test5 removes an unneeded set_current_task(TASK_RUNNING), since schedule_timeout already sets the task to TASK_RUNNING.
Please consider applying.
Cheers,
Felipe --- linux-2.6.0-test5/drivers/video/sa1100fb.c.orig 2003-09-11 17:09:01.000000000 -0300 +++ linux-2.6.0-test5/drivers/video/sa1100fb.c 2003-09-11 17:09:10.000000000 -0300 @@ -1388,7 +1388,6 @@ LCCR0 &= ~LCCR0_LEN; /* Disable LCD Controller */ schedule_timeout(20 * HZ / 1000); - set_current_state(TASK_RUNNING); remove_wait_queue(&fbi->ctrlr_wait, &wait); } | |