From: Dmitry Torokhov Date: Tue, 15 May 2007 03:52:22 +0000 (-0400) Subject: Input: ucb1x00-ts - remove commented out code X-Git-Tag: v2.6.22-rc3~92^2~3 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=1124d5ca7b7296035c1cc5fc00fdbfa44603b2ac;p=~shefty%2Frdma-dev.git Input: ucb1x00-ts - remove commented out code Signed-off-by: Dmitry Torokhov --- diff --git a/drivers/mfd/ucb1x00-ts.c b/drivers/mfd/ucb1x00-ts.c index ce1a4810821..b023eae3c3e 100644 --- a/drivers/mfd/ucb1x00-ts.c +++ b/drivers/mfd/ucb1x00-ts.c @@ -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()) {