From patchwork Wed Jun 3 04:15:33 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: powerpc/xmon: remove unused variable in xmon.c Date: Tue, 02 Jun 2009 18:15:33 -0000 From: Stephen Rothwell X-Patchwork-Id: 28033 Message-Id: <20090603141533.f23045fd.sfr@canb.auug.org.au> To: Benjamin Herrenschmidt Cc: ppc-dev , Vinay Sridhar 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 --- arch/powerpc/xmon/xmon.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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;