[PATCH] video/sa1000 cleanup

From: Felipe W Damasio
Date: Thu Sep 11 2003 - 15:16:29 EST


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);
}