aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Torokhov <dtor@insightbb.com>2007-05-14 23:52:22 -0400
committerDmitry Torokhov <dtor@insightbb.com>2007-05-22 23:24:28 -0400
commit1124d5ca7b7296035c1cc5fc00fdbfa44603b2ac (patch)
tree95f44e9520deb1d9f5392d643e7eea23ad364dee
parentc130bdba585cff185919cc5c82c126fc58aab7a6 (diff)
Input: ucb1x00-ts - remove commented out code
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
-rw-r--r--drivers/mfd/ucb1x00-ts.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/drivers/mfd/ucb1x00-ts.c b/drivers/mfd/ucb1x00-ts.c
index ce1a48108210..b023eae3c3ec 100644
--- a/drivers/mfd/ucb1x00-ts.c
+++ b/drivers/mfd/ucb1x00-ts.c
@@ -208,16 +208,7 @@ static int ucb1x00_thread(void *_ts)
208 struct ucb1x00_ts *ts = _ts; 208 struct ucb1x00_ts *ts = _ts;
209 struct task_struct *tsk = current; 209 struct task_struct *tsk = current;
210 DECLARE_WAITQUEUE(wait, tsk); 210 DECLARE_WAITQUEUE(wait, tsk);
211 int valid; 211 int valid = 0;
212
213 /*
214 * We could run as a real-time thread. However, thus far
215 * this doesn't seem to be necessary.
216 */
217// tsk->policy = SCHED_FIFO;
218// tsk->rt_priority = 1;
219
220 valid = 0;
221 212
222 add_wait_queue(&ts->irq_wait, &wait); 213 add_wait_queue(&ts->irq_wait, &wait);
223 while (!kthread_should_stop()) { 214 while (!kthread_should_stop()) {