]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
Input: ucb1x00-ts - remove commented out code
authorDmitry Torokhov <dtor@insightbb.com>
Tue, 15 May 2007 03:52:22 +0000 (23:52 -0400)
committerDmitry Torokhov <dtor@insightbb.com>
Wed, 23 May 2007 03:24:28 +0000 (23:24 -0400)
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/mfd/ucb1x00-ts.c

index ce1a48108210d38f645d34caa1273ad4d0acd60d..b023eae3c3ec30518e278ac24173ed077874e13a 100644 (file)
@@ -208,16 +208,7 @@ static int ucb1x00_thread(void *_ts)
        struct ucb1x00_ts *ts = _ts;
        struct task_struct *tsk = current;
        DECLARE_WAITQUEUE(wait, tsk);
-       int valid;
-
-       /*
-        * We could run as a real-time thread.  However, thus far
-        * this doesn't seem to be necessary.
-        */
-//     tsk->policy = SCHED_FIFO;
-//     tsk->rt_priority = 1;
-
-       valid = 0;
+       int valid = 0;
 
        add_wait_queue(&ts->irq_wait, &wait);
        while (!kthread_should_stop()) {