Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Stephen Rothwell and committed by
Benjamin Herrenschmidt
6d1386d5 41febbc8

+1 -1
+1 -1
arch/powerpc/xmon/xmon.c
··· 2130 2130 dump_log_buf(void) 2131 2131 { 2132 2132 const unsigned long size = 128; 2133 - unsigned long i, end, addr; 2133 + unsigned long end, addr; 2134 2134 unsigned char buf[size + 1]; 2135 2135 2136 2136 addr = 0;