projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41febbc
)
powerpc/xmon: Remove unused variable in xmon.c
author
Stephen Rothwell
<sfr@canb.auug.org.au>
Tue, 2 Jun 2009 18:15:33 +0000
(18:15 +0000)
committer
Benjamin Herrenschmidt
<benh@kernel.crashing.org>
Tue, 9 Jun 2009 06:47:40 +0000
(16:47 +1000)
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>
arch/powerpc/xmon/xmon.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/xmon/xmon.c
b/arch/powerpc/xmon/xmon.c
index
08121d3
..
e1f33a8
100644
(file)
--- 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;