aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/xmon
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2009-06-02 14:15:33 -0400
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2009-06-09 02:47:40 -0400
commit6d1386d517e2b9b0de994cc47b1e490db7972a2a (patch)
treef61c2a24d8384c69b6cac66cbdb90373b2c8fda7 /arch/powerpc/xmon
parent41febbc829cd3ed9af8a7dc37bc805ec027a0727 (diff)
powerpc/xmon: Remove unused variable in xmon.c
Gets rid of this warning: arch/powerpc/xmon/xmon.c: In function 'dump_log_buf': arch/powerpc/xmon/xmon.c:2133: warning: unused variable 'i' Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/xmon')
-rw-r--r--arch/powerpc/xmon/xmon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/xmon/xmon.c b/arch/powerpc/xmon/xmon.c
index 08121d3e47ba..e1f33a81e5e1 100644
--- a/arch/powerpc/xmon/xmon.c
+++ b/arch/powerpc/xmon/xmon.c
@@ -2130,7 +2130,7 @@ void
2130dump_log_buf(void) 2130dump_log_buf(void)
2131{ 2131{
2132 const unsigned long size = 128; 2132 const unsigned long size = 128;
2133 unsigned long i, end, addr; 2133 unsigned long end, addr;
2134 unsigned char buf[size + 1]; 2134 unsigned char buf[size + 1];
2135 2135
2136 addr = 0; 2136 addr = 0;