From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751684AbYLSQTi (ORCPT ); Fri, 19 Dec 2008 11:19:38 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751647AbYLSQS5 (ORCPT ); Fri, 19 Dec 2008 11:18:57 -0500 Received: from www.tglx.de ([62.245.132.106]:48526 "EHLO www.tglx.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753425AbYLSQSz (ORCPT ); Fri, 19 Dec 2008 11:18:55 -0500 Message-Id: <20081219155556.042508646@linutronix.de> References: <20081219155504.735865178@linutronix.de> User-Agent: quilt/0.46-1 Date: Fri, 19 Dec 2008 16:02:53 -0000 From: Thomas Gleixner To: LKML Cc: Ingo Molnar , Steven Rostedt , Peter Zijlstra , Clark Williams , Gregory Haskins , Linux-rt Subject: [patch 3/7] rtmutex: remove unused variable Content-Disposition: inline; filename=rtmutex-remove-unused-variable.patch Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove the leftover of the rwlock fixes. Signed-off-by: Thomas Gleixner --- 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); } --