提交 6d1386d5 编写于 作者: S Stephen Rothwell 提交者: Benjamin Herrenschmidt

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: NStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
上级 41febbc8
...@@ -2130,7 +2130,7 @@ void ...@@ -2130,7 +2130,7 @@ void
dump_log_buf(void) dump_log_buf(void)
{ {
const unsigned long size = 128; const unsigned long size = 128;
unsigned long i, end, addr; unsigned long end, addr;
unsigned char buf[size + 1]; unsigned char buf[size + 1];
addr = 0; addr = 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册