[patch 3/7] rtmutex: remove unused variable

From: Thomas Gleixner
Date: Fri Dec 19 2008 - 11:19:39 EST


Remove the leftover of the rwlock fixes.

Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
---
kernel/rtmutex.c | 3 ---
1 file changed, 3 deletions(-)

Index: linux-2.6.24/kernel/rtmutex.c
===================================================================
--- linux-2.6.24.orig/kernel/rtmutex.c
+++ linux-2.6.24/kernel/rtmutex.c
@@ -1950,9 +1950,6 @@ rt_write_fastunlock(struct rw_mutex *rwm
int mtx),
int mtx)
{
- struct task_struct *val = (void *)((unsigned long)current |
- RT_RWLOCK_WRITER);
-
WARN_ON(rt_rwlock_owner(rwm) != current);
slowfn(rwm, mtx);
}

--

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/