lkml.org 
[lkml]   [2003]   [Sep]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
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);
}
\
 
 \ /
  Last update: 2005-03-22 13:48    [W:0.255 / U:0.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site