linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] video/sa1000 cleanup
@ 2003-09-11 20:16 Felipe W Damasio
  0 siblings, 0 replies; only message in thread
From: Felipe W Damasio @ 2003-09-11 20:16 UTC (permalink / raw)
  To: torvalds, rmk; +Cc: Linux Kernel Mailing List

[-- Attachment #1: Type: text/plain, Size: 199 bytes --]

	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

[-- Attachment #2: sa1000-schedule.patch --]
[-- Type: text/plain, Size: 369 bytes --]

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-09-11 20:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-11 20:16 [PATCH] video/sa1000 cleanup Felipe W Damasio

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).