Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757347AbWKWKdS (ORCPT ); Thu, 23 Nov 2006 05:33:18 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757349AbWKWKdS (ORCPT ); Thu, 23 Nov 2006 05:33:18 -0500 Received: from mx2.cs.washington.edu ([128.208.2.105]:8399 "EHLO mx2.cs.washington.edu") by vger.kernel.org with ESMTP id S1757347AbWKWKdR (ORCPT ); Thu, 23 Nov 2006 05:33:17 -0500 Date: Thu, 23 Nov 2006 02:33:13 -0800 (PST) From: David Rientjes To: d binderman cc: Thomas Gleixner , linux-kernel@vger.kernel.org Subject: [PATCH] hrtimer: remove unused variable In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 958 Lines: 30 Remove unused 'base' variable. Cc: Thomas Gleixner Signed-off-by: David Rientjes --- kernel/hrtimer.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/kernel/hrtimer.c b/kernel/hrtimer.c index d0ba190..b55532f 100644 --- a/kernel/hrtimer.c +++ b/kernel/hrtimer.c @@ -508,11 +508,10 @@ EXPORT_SYMBOL_GPL(hrtimer_cancel); */ ktime_t hrtimer_get_remaining(const struct hrtimer *timer) { - struct hrtimer_base *base; unsigned long flags; ktime_t rem; - base = lock_hrtimer_base(timer, &flags); + lock_hrtimer_base(timer, &flags); rem = ktime_sub(timer->expires, timer->base->get_time()); unlock_hrtimer_base(timer, &flags); - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/