Messages in this thread Patch in this message | | | Date | Fri, 19 Dec 2008 16:02:53 -0000 | From | Thomas Gleixner <> | Subject | [patch 3/7] rtmutex: remove unused variable |
| |
Remove the leftover of the rwlock fixes.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de> --- 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); } --
| |