Skip to contentSkip to conversation

video/sa1000 cleanup

PATCH New Felipe W Damasio 1 participant 1 message Sep 11, 2003 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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

drivers/video/sa1100fb.c renamed from drivers/video/sa1100fb.c.orig +0 -1
@@ -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);
 }