linux-mips
[Top] [All Lists]

[PATCH 7/7] MIPS: sibyte: Remove unused variable.

To: <linux-mips@linux-mips.org>
Subject: [PATCH 7/7] MIPS: sibyte: Remove unused variable.
From: Markos Chandras <markos.chandras@imgtec.com>
Date: Mon, 17 Jun 2013 15:00:41 +0100
Cc: Markos Chandras <markos.chandras@imgtec.com>, <sibyte-users@bitmover.com>
In-reply-to: <1371477641-7989-1-git-send-email-markos.chandras@imgtec.com>
List-archive: <http://www.linux-mips.org/archives/linux-mips/>
List-help: <mailto:ecartis@linux-mips.org?Subject=help>
List-id: linux-mips <linux-mips.eddie.linux-mips.org>
List-owner: <mailto:ralf@linux-mips.org>
List-post: <mailto:linux-mips@linux-mips.org>
List-software: Ecartis version 1.0.0
List-subscribe: <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips>
List-unsubscribe: <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1371477641-7989-1-git-send-email-markos.chandras@imgtec.com>
Sender: linux-mips-bounce@linux-mips.org
Fixes the following build problem:

arch/mips/sibyte/sb1250/bus_watcher.c: In function 'sibyte_bw_int':
arch/mips/sibyte/sb1250/bus_watcher.c:179:7: error: unused variable 'bw_buf'
[-Werror=unused-variable]

Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Cc: sibyte-users@bitmover.com
---
 arch/mips/sibyte/sb1250/bus_watcher.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/arch/mips/sibyte/sb1250/bus_watcher.c 
b/arch/mips/sibyte/sb1250/bus_watcher.c
index 8871e33..d0ca7b9 100644
--- a/arch/mips/sibyte/sb1250/bus_watcher.c
+++ b/arch/mips/sibyte/sb1250/bus_watcher.c
@@ -175,9 +175,6 @@ static irqreturn_t sibyte_bw_int(int irq, void *data)
 #ifdef CONFIG_SIBYTE_BW_TRACE
        int i;
 #endif
-#ifndef CONFIG_PROC_FS
-       char bw_buf[1024];
-#endif
 
 #ifdef CONFIG_SIBYTE_BW_TRACE
        csr_out32(M_SCD_TRACE_CFG_FREEZE, IOADDR(A_SCD_TRACE_CFG));
-- 
1.8.2.1



<Prev in Thread] Current Thread [Next in Thread>