linux-mips
[Top] [All Lists]

[PATCH 2/2] WATCHDOG: mtx1-wdt: remove unused variable 'tmp'

To: Wim Van Sebroeck <wim@iguana.be>, linux-mips@linux-mips.org, linux-watchdog@vger.kernel.org, Manuel Lauss <manuel.lauss@googlemail.com>
Subject: [PATCH 2/2] WATCHDOG: mtx1-wdt: remove unused variable 'tmp'
From: Florian Fainelli <florian@openwrt.org>
Date: Thu, 2 Jun 2011 15:44:28 +0200
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:from:to:subject:date:user-agent :organization:mime-version:content-type:content-transfer-encoding :message-id; bh=4PRTOUTKqfkSZLqLbvFiSZWBLbRNUr742d1N4VZn5UQ=; b=m9ugtW2MSDiD8fT+BgwbzaZgHEi3S/ziK5gSwCYyAiArfJfoKte0hiX9G+GUMEPC5w IV+0waN7wg3m4zjzONv9zF4OYFg674eDXezuYF3VHR3qA8ILtGy0FS0c5XoN88G76zRn LqGTpVL6BVyeIeCcQD2xwGetzh7Q9KadsyFco=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:subject:date:user-agent:organization:mime-version :content-type:content-transfer-encoding:message-id; b=K+pOptDzTrtjYUQAvQ9HhXTj0gl3FkuwZ8s6ripPYMYfz2w3KW4FlG5XTP/6CTjCHa earauSJNOlwsQK5ThhCT3t4yQT1/wKHcoweguwwTtTU1cAgRRjwu2de3LuAA0NY2yLnm nbE3z3XyqF8PnSS81Z3yLdz8/l0aPegOQAWn8=
Organization: OpenWrt
Sender: linux-mips-bounce@linux-mips.org
User-agent: KMail/1.13.6 (Linux/2.6.38-9-generic; KDE/4.6.2; x86_64; ; )
Signed-off-by: Florian Fainelli <florian@openwrt.org>
---
diff --git a/drivers/watchdog/mtx-1_wdt.c b/drivers/watchdog/mtx-1_wdt.c
index f313d3b..913d499 100644
--- a/drivers/watchdog/mtx-1_wdt.c
+++ b/drivers/watchdog/mtx-1_wdt.c
@@ -71,8 +71,6 @@ static struct {
 
 static void mtx1_wdt_trigger(unsigned long unused)
 {
-       u32 tmp;
-
        spin_lock(&mtx1_wdt_device.lock);
        if (mtx1_wdt_device.running)
                ticks--;
-- 
1.7.4.1


<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH 2/2] WATCHDOG: mtx1-wdt: remove unused variable 'tmp', Florian Fainelli <=