Patchwork powerpc/xmon: remove unused variable in xmon.c

login
register
mail settings
Submitter Stephen Rothwell
Date June 3, 2009, 4:15 a.m.
Message ID <20090603141533.f23045fd.sfr@canb.auug.org.au>
Download mbox | patch
Permalink /patch/28033/
State Accepted
Commit 6d1386d517e2b9b0de994cc47b1e490db7972a2a
Delegated to: Benjamin Herrenschmidt
Headers show

Comments

Stephen Rothwell - June 3, 2009, 4:15 a.m.
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>
---
 arch/powerpc/xmon/xmon.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/arch/powerpc/xmon/xmon.c b/arch/powerpc/xmon/xmon.c
index 08121d3..e1f33a8 100644
--- a/arch/powerpc/xmon/xmon.c
+++ b/arch/powerpc/xmon/xmon.c
@@ -2130,7 +2130,7 @@  void
 dump_log_buf(void)
 {
         const unsigned long size = 128;
-        unsigned long i, end, addr;
+        unsigned long end, addr;
         unsigned char buf[size + 1];
 
         addr = 0;